DriveInformation
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ListControls
A simple class providing some basic information about the system drives.
public class DriveInformation
Remarks
This class manages information about system drives and is used to pass on the information to the user through the special delegate DriveSelectionChangeHandler.
Members at a glance
DriveDisplayName | Gets the Drive's display name as a string. |
DrivePathString | Gets the Drive path as a string. |
DriveSerialNumber | Gets the Drive's serial number as an unsigned integer. |
DriveTypeString | Gets the Drive's type as a string. |
DriveVolumeName | Gets the Drive Volume as a string. |
FileSystemName | Gets the Drive's file system name as a string. |
MaxFileNameLength | Gets the Drive's supported Maximum Filename length as a unsigned integer. |
Properties
DriveDisplayName
public string DriveDisplayName
Gets the Drive's display name as a string.
Value. A String.
DrivePathString
public string DrivePathString
Gets the Drive path as a string.
Value. A String.
DriveSerialNumber
public uint DriveSerialNumber
Gets the Drive's serial number as an unsigned integer.
Value. A uint.
DriveTypeString
public string DriveTypeString
Gets the Drive's type as a string.
Value. A String.
DriveVolumeName
public string DriveVolumeName
Gets the Drive Volume as a string.
Value. A String.
FileSystemName
public string FileSystemName
Gets the Drive's file system name as a string.
Value. A String.
MaxFileNameLength
public uint MaxFileNameLength
Gets the Drive's supported Maximum Filename length as a unsigned integer.
Value. A uint.