HostGetHostShareFromPath Method |
Gets the host and Server Message Block (SMB) share name for the given uncPath.
Namespace: Alphaleonis.Win32.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string[] GetHostShareFromPath(
string uncPath
)
Public Shared Function GetHostShareFromPath (
uncPath As String
) As String()
public:
static array<String^>^ GetHostShareFromPath(
String^ uncPath
)
static member GetHostShareFromPath :
uncPath : string -> string[]
Parameters
- uncPath
- Type: SystemString
The share in the format: \\host\share.
Return Value
Type:
Stringstring[0] = host, string[1] = share;
See Also