public void OnUploadProgress(DropZoneFileUploadProgress file)
 {
     if (file is null)
     {
         throw new ArgumentNullException(nameof(file));
     }
     if (file.Path is null)
     {
         throw new ArgumentException("file's Path Property should not be null.", nameof(file));
     }
     if (file.Name is null)
     {
         throw new ArgumentException("file's Name Property should not be null.", nameof(file));
     }
     UploadProgress.InvokeAsync(new DropZoneUploadProgressEventArgs(file.Path, file.Name, file.Size, file.Key, file.SessionId, file.Progress));
 }