1 /* 2 * 用户:从前的我 3 * 日期:2015/8/26 4 */ 5 using System; 6 using System.IO; 7 8 namespace GetXf 9 {10 class Program11 { 12 public static void GetXfDownloadRecords()13 {14 //Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)获取“AppData\Roaming\”的路径15 string xfPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Tencent\QQDownload\115248456\SpeedLogs\";16 string[] str=Directory.GetFiles(xfPath);17 foreach(string s in str)18 {19 Console.WriteLine(Path.GetFileNameWithoutExtension(s));//输出所有文件名(既QQ旋风的下载记录),不含扩展名。20 }21 }22 public static void Main(string[] args)23 {24 GetXfDownloadRecords();25 Console.ReadKey(true);26 }27 }28 }
- 2楼路路-黑客之路
- 莫非本地QQ聊天记录也可以这样获得?
- 1楼harrell
- 获取下载记录的目的是?