Click or drag to resize

PathCollectionIsDrive Method

Checks if the given path is a drive.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax
public static bool IsDrive(
	string pPath,
	bool pAcceptUNCPath = true
)

Parameters

pPath
Type: SystemString
A file system path
pAcceptUNCPath (Optional)
Type: SystemBoolean
True, if UNC paths are valid, too.

Return Value

Type: Boolean
true, if the given path is a directory like "C:\", false otherwise
See Also