Table of Contents

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

long

FreeSpaceString

Gets the free space of the drive used in human readable format

public string FreeSpaceString { get; set; }

Property Value

string

Name

Gets or sets the name of the logical drive - for example "/boot"

public string Name { get; set; }

Property Value

string

PercentageFree

Gets the percentage of space that is free on this logical drive.

public int PercentageFree { get; set; }

Property Value

int

PercentageUsed

Gets the percentage of space that is used on this logical drive.

public int PercentageUsed { get; set; }

Property Value

int

Size

Gets or sets the size of the logical drive in bytes.

public long Size { get; set; }

Property Value

long

SizeString

Gets the size of the drive in human readable format

public string SizeString { get; set; }

Property Value

string

SpaceUsed

Gets or sets the amount of space used on the logical drive in bytes.

public long SpaceUsed { get; set; }

Property Value

long

SpaceUsedString

Gets the space of the drive used in human readable format

public string SpaceUsedString { get; set; }

Property Value

string

Methods

CompareTo(UnixLogicalDrive)

Compares two CENTREL.XIA.Configuration.Types.UnixLogicalDrive objects to allow sorting alphabetically by name.

public int CompareTo(UnixLogicalDrive other)

Parameters

other UnixLogicalDrive

The CENTREL.XIA.Configuration.Types.UnixLogicalDrive to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.UnixLogicalDrive objects.