Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Delete File ?? #55

Open
Maenali97 opened this issue May 9, 2023 · 0 comments
Open

How To Delete File ?? #55

Maenali97 opened this issue May 9, 2023 · 0 comments

Comments

@Maenali97
Copy link

Maenali97 commented May 9, 2023

                            var task = new FirebaseStorage(
                                       Bucket,
                                       new FirebaseStorageOptions
                                       {
                                           AuthTokenAsyncFactory = () => Task.FromResult(a.FirebaseToken),
                                           ThrowOnCancel = true // when you cancel the upload, exception is thrown. By default no exception is thrown
                                       })
                                       .Child("TypeImages")
                                       .Child($"{type.fileUpload.FileName}")
                                       .DeleteAsync();

these are my code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant