Class UnixLogicalDrive
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Unix logical drive.
public class UnixLogicalDrive : GlobalSerializableClassicBase, IComparable<UnixLogicalDrive>
- Inheritance
-
UnixLogicalDrive
- Implements
Constructors
UnixLogicalDrive()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.UnixLogicalDrive class.
public UnixLogicalDrive()
Properties
FreeSpace
Gets or sets the amount of space available on the logical drive in bytes.
public long FreeSpace { get; set; }
Property Value
FreeSpaceString
Gets the free space of the drive used in human readable format
public string FreeSpaceString { get; set; }
Property Value
Name
Gets or sets the name of the logical drive - for example "/boot"
public string Name { get; set; }
Property Value
PercentageFree
Gets the percentage of space that is free on this logical drive.
public int PercentageFree { get; set; }
Property Value
PercentageUsed
Gets the percentage of space that is used on this logical drive.
public int PercentageUsed { get; set; }
Property Value
Size
Gets or sets the size of the logical drive in bytes.
public long Size { get; set; }
Property Value
SizeString
Gets the size of the drive in human readable format
public string SizeString { get; set; }
Property Value
SpaceUsed
Gets or sets the amount of space used on the logical drive in bytes.
public long SpaceUsed { get; set; }
Property Value
SpaceUsedString
Gets the space of the drive used in human readable format
public string SpaceUsedString { get; set; }
Property Value
Methods
CompareTo(UnixLogicalDrive)
Compares two CENTREL.XIA.Configuration.Types.UnixLogicalDrive objects to allow sorting alphabetically by name.
public int CompareTo(UnixLogicalDrive other)
Parameters
other
UnixLogicalDriveThe CENTREL.XIA.Configuration.Types.UnixLogicalDrive to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.UnixLogicalDrive objects.