ShellBrowser .Net Edition
GetDomainFromUNCPath Method (aPath)
NamespacesJam.ShellPathCollectionGetDomainFromUNCPath(String)
Returns the domain name from a UNC path
Declaration Syntax
C#Visual BasicVisual C++
public static string GetDomainFromUNCPath(
	string aPath
)
Public Shared Function GetDomainFromUNCPath ( _
	aPath As String _
) As String
public:
static String^ GetDomainFromUNCPath(
	String^ aPath
)
Parameters
aPath (String)
A UNC path.
Return Value
The domain part of a UNC path. null if the given path is not a UNC path.

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)