How do I get the hash of current .exe?

前端 未结 4 379
被撕碎了的回忆
被撕碎了的回忆 2021-01-03 05:45

[SOLVED]: I copied the file and ran the hasher on that copy.

I need my app to find the EXE\'s current MD5. I can get the MD5 of any file. However, n

4条回答
  •  北海茫月
    2021-01-03 06:42

    Change: FileStream stream = File.Create(path, (int)fi.Length, FileOptions.Asynchronous); to FileStream stream = File.Open(path, FileMode.Open);

提交回复
热议问题