public static async Task <string> DownloadPlayerAvatar(string player, string filePhoto) { var task = new FirebaseStorage(bucketStorage) .Child("players") .Child(player) .Child(System.IO.Path.GetFileName(filePhoto)); return(await task.GetDownloadUrlAsync()); }
private async Task <string> DownloadTask(string fileName) { var task = new FirebaseStorage("jamcloud-db-2aea9.appspot.com") .Child("jamcloud_audio") .Child(user.GetCurrentUser().Username) .Child(fileName); return(await task.GetDownloadUrlAsync()); }