Esempio n. 1
0
 public static byte[] GetFileContent(string path)
 {
     jtag.ReceiveFile("temp.bin", path);
     byte[] result = new byte[0];
     if (File.Exists("temp.bin"))
     {
         result = File.ReadAllBytes("temp.bin");
         File.Delete("temp.bin");
     }
     return(result);
 }