Published
- 1 min read
c# get all bytes of a file
The solution for this is noted below
c# get all bytes of a file
Solution
//replace filepath with the real filepath
byte[] fileBytes = System.IO.File.ReadAllBytes(filepath);
Try other methods by searching on the site. That is if this doesn’t work