摘要: string result = ""; string filePath = "xxx.bin"; if (File.Exists(filePath)) { byte[] b = File.ReadAllBytes(filePath); foreach (byte bt in b) { result 阅读全文
posted @ 2019-12-10 18:45 昔时半夏 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: c#是一个写windows桌面小工具的好东西,但有个时候,我们需要在 winform 程序中调用其他的 exe 文件,那么该如何实现呢? 如果只是拉起一个 exe 文件,可以参考如下方法实现: string exefile = "xxx.exe"; if (File.Exists(exefile)) 阅读全文
posted @ 2019-12-10 18:41 昔时半夏 阅读(6302) 评论(0) 推荐(0) 编辑