Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法从使用 C# 阻塞文件的进程中获取 PID?
我不知道它是否可以完全在框架内完成,但也许你可以调用SysInternals 的 Handle.exe来完成这里的繁重工作?