Path.IsUncPath Method (String, Boolean)
Click or drag to resize
PathIsUncPath Method (String, Boolean)
[AlphaFS] Determines if a path string is a valid Universal Naming Convention (UNC) path.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static bool IsUncPath(
	string path,
	bool checkInvalidPathChars
)

Parameters

path
Type: SystemString
The path to check.
checkInvalidPathChars
Type: SystemBoolean
will check path for invalid path characters.

Return Value

Type: Boolean
Returns if the specified path is a Universal Naming Convention (UNC) path, otherwise.
See Also