await using (MemoryStream memoryStream = new MemoryStream()) { var fileMultipartSection = section.AsFileSection(); await fileMultipartSection.FileStream.CopyToAsync(memoryStream); memoryStream.Position = 0; }
Thanks!
await using (MemoryStream memoryStream = new MemoryStream()) { var fileMultipartSection = section.AsFileSection(); await fileMultipartSection.FileStream.CopyToAsync(memoryStream); memoryStream.Position = 0; }
Thanks!