Microsoft.Maui.Storage Namespace

Provides interfaces, classes and supporting types to work with storage on devices across all supported platforms (e.g. pick a file, save preferences, use secure storage, etc.).

Classes

FileBase

A representation of a file and its content type.

FilePicker

Lets the user pick a file from the device's storage.

FilePickerFileType

Represents the file types that are allowed to be picked by the user when using IFilePicker.

FileResult

A representation of a file, as a result of a pick action by the user, and its content type.

FileSystem

Provides an easy way to access the locations for device folders.

FileSystemImplementation

Concrete implementation of the IFileSystem APIs.

PickOptions

Represents file picking options that can be used to customize the working of IFilePicker.

Preferences

The Preferences API helps to store application preferences in a key/value store.

ReadOnlyFile

A representation of a file, that is read-only, and its content type.

SecureStorage

The SecureStorage API helps securely store simple key/value pairs.

SecureStorageExtensions

This class contains static extension methods for use with ISecureStorage.

Interfaces

IFilePicker

Lets the user pick a file from the device's storage.

IFileSystem

Provides an easy way to access the locations for device folders.

IPlatformSecureStorage

Provides abstractions for the platform specific secure storage functionality for use with ISecureStorage.

IPreferences

The Preferences API helps to store application preferences in a key/value store.

ISecureStorage

The SecureStorage API helps securely store simple key/value pairs.

Remarks

The functionality in this namespace is formerly known as (Xamarin) Essentials.