Host Methods |
The Host type exposes the following members.
Name | Description | |
---|---|---|
ConnectDrive(String, String) | Creates a connection to a network resource. The function can redirect a local device to a network resource. | |
ConnectDrive(String, String, NetworkCredential, Boolean, Boolean, Boolean) | Creates a connection to a network resource. The function can redirect a local device to a network resource. | |
ConnectDrive(IntPtr, String, String, NetworkCredential, Boolean, Boolean, Boolean) | Creates a connection to a network resource. The function can redirect a local device to a network resource. | |
ConnectDrive(String, String, String, String, Boolean, Boolean, Boolean) | Creates a connection to a network resource. The function can redirect a local device to a network resource. | |
ConnectDrive(IntPtr, String, String, String, String, Boolean, Boolean, Boolean) | Creates a connection to a network resource. The function can redirect a local device to a network resource. | |
ConnectTo(String) | Creates a connection to a network resource. | |
ConnectTo(String, NetworkCredential, Boolean, Boolean, Boolean) | Creates a connection to a network resource. | |
ConnectTo(IntPtr, String, NetworkCredential, Boolean, Boolean, Boolean) | Creates a connection to a network resource. | |
ConnectTo(String, String, String, Boolean, Boolean, Boolean) | Creates a connection to a network resource. | |
ConnectTo(IntPtr, String, String, String, Boolean, Boolean, Boolean) | Creates a connection to a network resource. | |
DisconnectDrive(String) | Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. | |
DisconnectDrive(String, Boolean, Boolean) | Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. | |
DisconnectFrom(String) | Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. | |
DisconnectFrom(String, Boolean, Boolean) | Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected. | |
EnumerateDfsLinks | Enumerates the DFS Links from a DFS namespace. | |
EnumerateDfsRoot | Enumerates the DFS namespaces from the local host. | |
EnumerateDfsRoot(String, Boolean) | Enumerates the DFS namespaces from a host. | |
EnumerateDomainDfsRoot | Enumerates the DFS namespaces from the domain. | |
EnumerateDomainDfsRoot(String, Boolean) | Enumerates the DFS namespaces from a domain. | |
EnumerateDrives | Enumerates drives from the local host. | |
EnumerateDrives(String, Boolean) | Enumerates local drives from the specified host. | |
EnumerateOpenConnections | Enumerates open connections from the local host. | |
EnumerateOpenConnections(String, String, Boolean) | Enumerates open connections from the specified host. | |
EnumerateOpenResources | Enumerates open resources from the local host. | |
EnumerateOpenResources(String, String, String, Boolean) | Enumerates open resources from the specified host. | |
EnumerateShares | Enumerates Server Message Block (SMB) shares from the local host. | |
EnumerateShares(String, Boolean) |
Enumerates Server Message Block (SMB) shares from the specified host.
| |
GetDfsClientInfo(String) | Gets information about a DFS root or link from the cache maintained by the DFS client. | |
GetDfsClientInfo(String, String, String) | Gets information about a DFS root or link from the cache maintained by the DFS client. | |
GetDfsInfo | Gets information about a specified DFS root or link in a DFS namespace. | |
GetHostShareFromPath | Gets the host and Server Message Block (SMB) share name for the given uncPath. | |
GetShareInfo(String, Boolean) | Retrieves information about the Server Message Block (SMB) share as defined on the specified host. | |
GetShareInfo(String, String, Boolean) | Retrieves information about the Server Message Block (SMB) share as defined on the specified host. | |
GetShareInfo(ShareInfoLevel, String, Boolean) | Retrieves information about the Server Message Block (SMB) share as defined on the specified host. | |
GetShareInfo(ShareInfoLevel, String, String, Boolean) | Retrieves information about the Server Message Block (SMB) share as defined on the specified host. | |
GetUncName | Return the host name in UNC format, for example: \\hostname. | |
GetUncName(String) | Return the host name in UNC format, for example: \\hostname. |