阅读背景:

如何删除C#中另一个进程锁定的文件?

来源:互联网 

I'm looking for a way to delete a file which is locked by another process using C#. I suspect the method must be able to find which process is locking the file (perhaps by tracking the handles, although I'm not sure how to do this in C#) then close that process before being able to complete the file delete using I'm looking for a way to delete a file which is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: