Class HttpUploadSource
Provides access to a file via HTTP/HTTPS that will be uploaded to Content Hub.
Inheritance
object
HttpUploadSource
Implements
Namespace: StylelabsStylelabs.MSdkWebClientModelsUpload
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
Constructors
HttpUploadSource(IWebMClient, Uri, string)
Initializes a new instance of the HttpUploadSource class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IWebMClient | client | The IWebMClient instance. |
| Uri | uri | The pointing to the file. |
| string | name | The file name. |
Properties
Name
Gets the name of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetStreamAsync()
Gets a to access the underlying source.
Declaration
Returns
| Type | Description |
|---|---|
| Task<>Stream | A . |
Implements
If you have suggestions for improving this article, let us know!