FileDownloader Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens byte streams for inbound files, keyed on conversation scope so every scope's receive path extends this one place rather than branching in callers.
public sealed class FileDownloader
type FileDownloader = class
Public NotInheritable Class FileDownloader
- Inheritance
-
FileDownloader
Remarks
Initializes a new instance of the FileDownloader class.
Constructors
| Name | Description |
|---|---|
| FileDownloader(HttpClient, ILogger<FileDownloader>) |
Opens byte streams for inbound files, keyed on conversation scope so every scope's receive path extends this one place rather than branching in callers. |
Methods
| Name | Description |
|---|---|
| OpenFileStreamAsync(ConversationType, Uri, String, Boolean, CancellationToken) |
Open a byte stream for an inbound file. Only |
| OpenFileStreamAsync(ConversationType, Uri, Uri, String, Boolean, GraphCredential, CancellationToken) |
Open a byte stream for an inbound file, resolving it through Microsoft Graph when the pre-authorized download URL is absent. Only |