• 0

Coding help ! VS C# MD5 generator bug


Question

1 answer to this question

Recommended Posts

  • 0

Well, you could just debug the program and find out (F5 or Debug -> Start Debugging); or at least see what exception is killing your program.

Your program should only have one such statement:

using (var stream = File.OpenRead(filename))

 

It currently has 3 and they're all nested, and you have a bunch of unused variables. Clean up the logic.

Also, you call RunWorkerAsync in a loop without awaiting it. Bad bad bad. Probably the root cause of the issue. Either call the synchronous version or await it.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.