Provides methods for interacting with the network to which the computer is connected.
| C# | Visual Basic |
public class Network
Public Class Network
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Network()()()() | Initializes a new instance of the Network class | |
| DownloadFile(String, String) |
Downloads the specified remote file and saves it in the specified location.
| |
| DownloadFile(Uri, String) |
Downloads the specified remote file and saves it in the specified location.
| |
| DownloadFile(String, String, String, String) |
Downloads the specified remote file and saves it in the specified location.
| |
| DownloadFile(Uri, String, String, String) |
Downloads the specified remote file and saves it in the specified location.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsAvailable |
Indicates whether a computer is connected to a network.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Ping(String) |
Pings the specified server.
| |
| Ping(Uri) |
Pings the specified server.
| |
| Ping(String, Int32) |
Pings the specified server.
| |
| Ping(Uri, Int32) |
Pings the specified server.
| |
| ToString()()()() | (Inherited from Object.) | |
| UploadFile(String, String) |
Sends the specified file to the specified host address.
| |
| UploadFile(String, Uri) |
Sends the specified file to the specified host address.
| |
| UploadFile(String, String, String, String) |
Sends the specified file to the specified host address.
| |
| UploadFile(String, Uri, String, String) |
Sends the specified file to the specified host address.
|
| Object | |
| Network | |