Click or drag to resize
PathGetMappedUncName Method
[AlphaFS] Gets the network share name from the locally mapped path.

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

Parameters

path
Type: SystemString
The local path with drive name.

Return Value

Type: String
The network share connection name of path.
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