PathIsUncPath Method (String, Boolean) |
[AlphaFS] Determines if a path string is a valid Universal Naming Convention (UNC) path, optionally skip invalid path character check.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool IsUncPath(
string path,
bool checkInvalidPathChars
)
Public Shared Function IsUncPath (
path As String,
checkInvalidPathChars As Boolean
) As Boolean
public:
static bool IsUncPath(
String^ path,
bool checkInvalidPathChars
)
static member IsUncPath :
path : string *
checkInvalidPathChars : bool -> bool
Parameters
- path
- Type: SystemString
The path to check. - checkInvalidPathChars
- Type: SystemBoolean
will check path for invalid path characters.
Return Value
Type:
Boolean if the specified path is a Universal Naming Convention (UNC) path,
otherwise.
See Also