Click or drag to resize
PathGetMappedConnectionName Method
[AlphaFS] Gets the connection name of the locally mapped drive.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetMappedConnectionName(
	string path
)

Parameters

path
Type: SystemString
The local path with drive name.

Return Value

Type: String
The server and share as: \\servername\sharename.
Exceptions
ExceptionCondition
ArgumentExceptionThe path parameter contains invalid characters, is empty, or contains only white spaces.
ArgumentNullException
PathTooLongExceptionWhen path exceeds maximum path length.
NetworkInformationException
See Also