C#: Download a file

Downloads a file.

Examples

Download file

var bytes = await supabase.Storage.From("avatars").Download("public/fancy-avatar.png");

Download file with Progress

var bytes = await supabase.Storage
  .From("avatars")
  .Download("public/fancy-avatar.png", (sender, progress) => Debug.WriteLine($"\{progress\}%"));