Click or drag to resize
DirectoryGetDirectoryRoot Method (String)
Returns the volume information, root information, or both for the specified path.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetDirectoryRoot(
	string path
)

Parameters

path
Type: SystemString
The path of a file or directory.

Return Value

Type: String
The volume information, root information, or both for the specified path, or if path path does not contain root directory information.
See Also