Answers for "read file c# limit bytes"

C#
7

c# get file size in bytes

long _fileSize = new System.IO.FileInfo(filePath).Length;
Posted by: Guest on January-13-2021
0

c# get all bytes of a file

//replace filepath with the real filepath
byte[] fileBytes = System.IO.File.ReadAllBytes(filepath);
Posted by: Guest on December-06-2021

C# Answers by Framework

Browse Popular Code Answers by Language