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