Table of Contents

Interface IStorageFile

Namespace
Avalonia.Platform.Storage
Assembly
Avalonia.Base.dll

Represents a file. Provides information about the file and its contents, and ways to manipulate them.

[NotClientImplementable]
public interface IStorageFile : IStorageItem, IDisposable
Inherited Members
Extension Methods

Methods

OpenReadAsync()

Opens a stream for read access.

Task<Stream> OpenReadAsync()

Returns

Task<Stream>

Exceptions

UnauthorizedAccessException

OpenWriteAsync()

Opens stream for writing to the file.

Task<Stream> OpenWriteAsync()

Returns

Task<Stream>

Exceptions

UnauthorizedAccessException