MediasClientUpload Method |
To get started, call one of the following methods:
- Anysense.API.Client.V1.ApiClient.Create
- Anysense.API.Client.V1.ApiClient.CreateAsync
- Anysense.API.Client.V1.ApiClient.CreateWithToken
- Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Uploads a file to the service. Bundles BeginUpload, SaveChunk(s), and FinalizeUpload into one.
Namespace: Anysense.API.Client.V1Assembly: Anysense.API.Client (in Anysense.API.Client.dll) Version: 1.31.15+d671d89394079ff2411e503098d3578f08c2de86
Syntax public MediaData Upload(
Stream stream,
string filename,
Guid? mediaId = null
)
Parameters
- stream Stream
- The file to upload
- filename String
- Filename of the file
- mediaId NullableGuid (Optional)
- The MediaId given by the client, or null to request a new.
Return Value
MediaDataA MediaData object containing informations abouyt the newly upload file
See Also