Class IPlatformOS.FileSystemInfo
Contains Meadow.OS File System information.
Assembly: Meadow.Contracts.dll
View Source
public abstract class IPlatformOS.FileSystemInfo
Properties
Drives
A list of available storage devices
View Source
public abstract IEnumerable<IStorageInformation> Drives { get; }
FileSystemRoot
The root OS folder for the Meadow subsystem
View Source
public abstract string FileSystemRoot { get; }
UserFileSystemRoot
Gets the root directory of the app file system partition.
View Source
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
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
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
public string CacheDirectory { get; }
TempDirectory
Gets the /Temp
directory. Use this directory to store transient
files.
View Source
public string TempDirectory { get; }
Events
ExternalStorageEvent
Raised when a change on an external storage device is detected
View Source
public event ExternalStorageEventHandler ExternalStorageEvent