Constructor ChannelAttachment
- Namespace
- Oscova.Agents.Channels
- Assembly
- Oscova.Agents.dll
ChannelAttachment(string, string?, long, Func<CancellationToken, Task<Stream>>)
Defers attachment download until the host accepts its metadata and disposes the returned stream.
public ChannelAttachment(string FileName, string? ContentType, long Size, Func<CancellationToken, Task<Stream>> OpenReadAsync)