HostGetUncName Method (String) |
Return the host name in UNC format, for example: \\hostname.
Namespace: Alphaleonis.Win32.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetUncName(
string computerName
)
Public Shared Function GetUncName (
computerName As String
) As String
public:
static String^ GetUncName(
String^ computerName
)
static member GetUncName :
computerName : string -> string
Parameters
- computerName
- Type: SystemString
Name of the computer.
Return Value
Type:
StringThe unc name.
See Also