张文的博客

导航

2014年3月5日 #

C# 判断文件有没占用

摘要: C# 判断文件有没占用usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespaceAdminTools{publicstaticclassFileTools{[DllImport("kernel32.dll")]privatestaticexternIntPtr _lopen(stringlpPathName, intiReadWrite);[DllImport("kernel32.dll")]priva 阅读全文

posted @ 2014-03-05 16:07 张文的博客 阅读(761) 评论(0) 推荐(0) 编辑