File to binary Liu

From , 5 Years ago, written in C#, viewed 170 times.
URL https://pastebin.vip/view/38181d99
  1.     private byte[] FileToSteam(string File)
  2.     {
  3.  
  4.         FileStream fs = new FileStream(File, FileMode.Open);
  5.         int streamLength = (int)fs.Length;
  6.         byte[] BTFile = new byte[streamLength];
  7.         fs.Read(BTFile, 0, streamLength);
  8.         fs.Close();
  9.         return BTFile;
  10.     }

Reply to "File to binary Liu"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website