public interface IReadFileLease : IAsyncDisposable Owns acquired read access until disposed or its presentation closes.
Properties
DisplayName
string DisplayName { get; } A display filename, without a filesystem path.
Methods
OpenReadAsync
ValueTask<Stream> OpenReadAsync(CancellationToken cancellationToken = default) Consumes the lease once and returns its acquired stream. The lease retains ownership of the stream.