Click or drag to resize
PathIsLocalPath Method (String, Boolean)
[AlphaFS] Determines whether the specified path is a local path.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static bool IsLocalPath(
	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
if the specified path is a local path, otherwise.
Exceptions
ExceptionCondition
ArgumentExceptionThe path parameter contains invalid characters, is empty, or contains only white spaces.
ArgumentNullException
See Also