VolumeGetDriveFormat Method |
[AlphaFS] Gets the name of the file system, such as NTFS or FAT32.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static string GetDriveFormat(
string drivePath
)
Public Shared Function GetDriveFormat (
drivePath As String
) As String
public:
static String^ GetDriveFormat(
String^ drivePath
)
static member GetDriveFormat :
drivePath : string -> string
Parameters
- drivePath
- Type: SystemString
A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\".
Return Value
Type:
StringThe name of the file system on the specified drive or
on failure or if not available.
Remarks Use DriveFormat to determine what formatting a drive uses.
See Also