DriveConnection Constructor (String) |
Creates a temporary connection to a network resource. The function can redirect a local device to a network resource, using the current user credentials.
Namespace: Alphaleonis.Win32.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public DriveConnection(
string remoteName
)
Public Sub New (
remoteName As String
)
public:
DriveConnection(
String^ remoteName
)
new :
remoteName : string -> DriveConnection
Parameters
- remoteName
- Type: SystemString
The network resource to connect to. The string can be up to MAX_PATH characters in length.
See Also