You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 5, 2021. It is now read-only.
While trying to read the file upload progress, your sample code works file. However, changing the following two lines:
var ms = new MemoryStream(); await file.Data.CopyToAsync(ms);
to include file format:
var format = "image/jpeg"; var imageFile = await file.ToImageFileAsync(format, 3000, 3000); var ms = new MemoryStream(); await imageFile.Data.CopyToAsync(ms);
This causes the progress to always show 0%. Is there a way to make this work? Thanks!