Skip to main content

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.

ParameterTypeDescription
hdcIntPtr

Returns IDriveProvider

Unmount(IntPtr hdc)

public static bool Unmount(IntPtr hdc)

No description available.

ParameterTypeDescription
hdcIntPtr

Returns bool

Flush(IntPtr hdc)

public static void Flush(IntPtr hdc)

No description available.

ParameterTypeDescription
hdcIntPtr

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.

ParameterTypeDescription
hdcIntPtr
volumestring
parameteruint
forceSizebyte

Returns bool