Class LinuxDiskPartition
Holds information about a Linux disk partition.
Namespace: Neon.SSH
Assembly: Neon.SSH.dll
Syntax
public class LinuxDiskPartition
Constructors
LinuxDiskPartition(int, string, long)
Constructor.
Declaration
public LinuxDiskPartition(int partition, string partitionName, long partitionSize)
Parameters
Type | Name | Description |
---|---|---|
int | partition | The partition number. |
string | partitionName | The partition name. |
long | partitionSize | The partition size in bytes. |
Properties
Partition
Returns the partition number (1..4).
Declaration
public int Partition { get; }
Property Value
Type | Description |
---|---|
int |
PartitionName
Returns the partition name.
Declaration
public string PartitionName { get; }
Property Value
Type | Description |
---|---|
string |
PartitionSize
Returns the partition size in bytes.
Declaration
public long PartitionSize { get; }
Property Value
Type | Description |
---|---|
long |