Host.GetHostShareFromPath Method
Click or drag to resize
HostGetHostShareFromPath Method
Gets the host and Server Message Block (SMB) share name for the given uncPath.

Namespace: Alphaleonis.Win32.Network
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string[] GetHostShareFromPath(
	string uncPath
)

Parameters

uncPath
Type: SystemString
The share in the format: \\host\share.

Return Value

Type: String
string[0] = host, string[1] = share;
See Also