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.Network
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
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 MaxPath characters in length.
See Also