我知道这个文件夹有一些通过隐藏文件和缓存与之相关的技巧。我想要检索您在使用Windows资源管理器时可以看到的文件的Internet地址详细信息,但我没有看到这样做的方法。
static void Main(string[] args)
{
var path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache),"Content.IE5");
DirectoryInfo dInfo = new DirectoryInfo(@"C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files");
DoStuff(dInfo);
Console.ReadLine();
}
static void DoStuff(DirectoryInfo directory)
{
FileInfo[] taskFiles = directory.GetFiles("RM0000*");//file name starts with RM0000
foreach (System.IO.FileInfo fi in taskFiles)
{
Console.WriteLine("{0}: {1}: ", fi.Name, fi.CreationTime); //This part is where I looked for the address details, but there is no option to display that property.
}
有没有办法检索Temporary Internet Files文件夹中每个文件的Internet地址信息?