C# MD5 hasher example

后端 未结 6 1241
慢半拍i
慢半拍i 2020-12-09 19:16

Edit: I\'ve retitled this to an example as the code works as expected.

I am trying to copy a file, get a MD5 hash, then delete the copy. I am doing

6条回答
  •  情深已故
    2020-12-09 19:50

    Have you tried setting md5Hasher to null before deleting the file? It probably has a handle still attached to the FileStream (memory leak perhaps).

提交回复
热议问题