public async Task <Guid> UploadWholeContentAsync(Guid accountId, Stream stream, TimeSpan?timeout) { var response = await contents.StartUploadAsync(accountId, stream, 0, stream.Length - 1, stream.Length, timeout).ConfigureAwait(false); return(response.Id); }