阅读背景:

有没有更好的方法来确定文件是否由.NET中的另一个应用程序打开?

来源:互联网 

I am doing an archive service for logs. Since some files are open and in use I can't archive them until they are not in use anymore. The only way I can figure out how to see if the file is open by another process is the code below.I am doing an archive service for logs. Since s




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

分享到: