先找到指定目录的文件夹,再循环里面所有的文件来判断是否存在
DirectoryInfo df = new DirectoryInfo(Path);
foreach (FileSystemInfo files1 in df.GetFileSystemInfos())//验证指定目录下的文件
DirectoryInfo df = new DirectoryInfo(Path);
foreach (FileSystemInfo files1 in df.GetFileSystemInfos())//验证指定目录下的文件
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货