string result = "";
string filePath = "xxx.bin";
if (File.Exists(filePath)) {
    byte[] b = File.ReadAllBytes(filePath);
    foreach (byte bt in b) {
        result += Convert.ToString(bt, 16);
    }
}

相关文章:

  • 2021-05-26
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2021-11-17
  • 2022-03-06
  • 2021-05-12
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案