Skip to main content

Class IPlatformOS.FileSystemInfo

Contains Meadow.OS File System information.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public abstract class IPlatformOS.FileSystemInfo

Properties

Drives

A list of available storage devices

View Source
Declaration
public abstract IEnumerable<IStorageInformation> Drives { get; }

FileSystemRoot

The root OS folder for the Meadow subsystem

View Source
Declaration
public abstract string FileSystemRoot { get; }

UserFileSystemRoot

Gets the root directory of the app file system partition.

View Source
Declaration
public string UserFileSystemRoot { get; }

DataDirectory

Gets the /Data directory. Use this directory to store files that require permanent persistence, such as SQL data files, even through OS deployments and Over-the-Air (OtA) updates.

View Source
Declaration
public string DataDirectory { get; }

DocumentsDirectory

Gets the /Documents directory. Use this directory to store files that require permanent persistence, such as application document files, even through OS deployments and Over-the-Air (OtA) updates.

View Source
Declaration
public string DocumentsDirectory { get; }

CacheDirectory

Gets the /Cache directory. Use this directory to store semi-transient files. The contents of this folder will be erased during application updates.

View Source
Declaration
public string CacheDirectory { get; }

TempDirectory

Gets the /Temp directory. Use this directory to store transient files.

View Source
Declaration
public string TempDirectory { get; }

Events

ExternalStorageEvent

Raised when a change on an external storage device is detected

View Source
Declaration
public event ExternalStorageEventHandler ExternalStorageEvent
Event Type

Meadow.ExternalStorageEventHandler