/// <summary> /// Store the MetaData for chummerfiles (to get a Id). /// This Id can be used to store the actual file with PUT afterwards. /// Alternativly, the DownloadUrl can be set directly from the Client. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='uploadInfo'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task PostSINAsync(this ISINnersClient operations, UploadInfoObject uploadInfo = default(UploadInfoObject), CancellationToken cancellationToken = default(CancellationToken)) { await operations.PostSINWithHttpMessagesAsync(uploadInfo, null, cancellationToken).ConfigureAwait(false); }