摘要:
public long GetDirectoryLength(string dirPath){if(!Directory.Exists(dirPath))return 0;long len=0;DirectoryInfo di=new DirectoryInfo(dirPath);foreach(FileInfo fi in di.GetFiles()){len+=fi.Length;}Direc... 阅读全文
posted @ 2005-09-20 22:11
Jason.Yi
阅读(1776)
评论(3)
推荐(0)
浙公网安备 33010602011771号