FileSystem Class
Namespace: GHIElectronics.TinyCLR.IO · Assembly: GHIElectronics.TinyCLR.IO
Mounts and unmounts file systems on top of a GHIElectronics.TinyCLR.Devices.Storage.StorageController. Pass the controller's Hdc to Mount(IntPtr) to make its content accessible via System.IO.File / System.IO.Directory.
public static class FileSystem
Methods
Mount(IntPtr hdc)
public static IDriveProvider Mount(IntPtr hdc)
No description available.
| Parameter | Type | Description |
|---|---|---|
hdc | IntPtr |
Returns IDriveProvider
Unmount(IntPtr hdc)
public static bool Unmount(IntPtr hdc)
No description available.
| Parameter | Type | Description |
|---|---|---|
hdc | IntPtr |
Returns bool
Flush(IntPtr hdc)
public static void Flush(IntPtr hdc)
No description available.
| Parameter | Type | Description |
|---|---|---|
hdc | IntPtr |
Format(IntPtr hdc, string volume, uint parameter, byte forceSize)
public static bool Format(IntPtr hdc, string volume = null, uint parameter = 0, byte forceSize = 0)
No description available.
| Parameter | Type | Description |
|---|---|---|
hdc | IntPtr | |
volume | string | |
parameter | uint | |
forceSize | byte |
Returns bool