C# MD5 hasher example

后端 未结 6 1202
慢半拍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:46

    Did you try wrapping your MD5 object in a using() too? From the docs, MD5 is Disposable. That might make it let go of the file.

提交回复
热议问题