DeviceStats Struct
Namespace: GHIElectronics.TinyCLR.IO.TinyFileSystem · Assembly: GHIElectronics.TinyCLR.IO.TinyFileSystem
Statistics for the device
public struct DeviceStats
Constructors
DeviceStats(int bytesFree, int bytesOrphaned)
public DeviceStats(int bytesFree, int bytesOrphaned)
Creates an instance of the DeviceStats structure.
| Parameter | Type | Description |
|---|---|---|
bytesFree | int | Bytes free in the file system. |
bytesOrphaned | int | Bytes orphaned in the file system. |
Methods
ToString()
public override string ToString()
Returns a string that represents this instance.
Returns string — A string that represents this instance.
Fields
BytesFree
public readonly int BytesFree
Free memory available for use.
BytesOrphaned
public readonly int BytesOrphaned
Memory occupied by orphaned clusters.