dropbox / dropbox/dropbox-sdk-dotnet

how to verify downloaded file?

Open
#34 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
347
Forks
439
Avg merge
4m
Merged PRs (30d)
9

Description

hello again,
here is my code that I use to download a file:

```
using (var response = await client.Files.DownloadAsync(file.AsFile.PathDisplay))
{
File.WriteAllBytes(folder + "/" + realName, await response.GetContentAsByteArrayAsync());
}
```

but my question is: how can I check if the downloaded file is correct? is there a checksum or md5 or someother thing?

thanks in advance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.