标签:
protected void DeleteTempFiles(string iFileName)
{
FileInfo f = new FileInfo(iFileName);
DirectoryInfo dir = f.Directory;
foreach (FileInfo tfile in dir.GetFiles())
{
try { tfile.Delete(); }
catch { }
}
}
标签:
原文地址:http://www.cnblogs.com/guess/p/5669192.html