You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

C# MD5杀毒程序问题:选中文件夹路径无法读取

MD5 Antivirus Program Troubleshooting: Empty ListBox & Null MD5 Hashes

I've developed an MD5 antivirus program using C#, Visual Studio 2017, Windows Forms, and .NET Framework 4.5. The program's core function is to read a list of strings from a text file, then compare them against the MD5 hashes of target files to detect potential viruses. This is purely a personal project for my own enjoyment—no plans to sell it or distribute it commercially.

Right now, I'm stuck with two frustrating issues:

  • When a user selects a folder, only a message box can successfully read the selected path. My list box just displays empty strings instead of the files or relevant content I’m trying to populate it with.
  • The MD5 hash values for scanned files are always coming up empty, no matter which files I target for checking.

I’d really appreciate any guidance or tips to work through these problems!

内容的提问来源于stack exchange,提问作者user9475900

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 06:33:12