Windows Mobile Internet Explorer历史记录 [英] Windows Mobile Internet Explorer History
本文介绍了Windows Mobile Internet Explorer历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Compact Framework 1.0上运行的C#中获取Windows Mobile 5.0上的Internet Explorer历史记录?我只需要获取最近访问过的URL。即使你只知道它存储在哪里,我也许可以从中找出其余部分。
How do I grab Internet Explorer's history on Windows Mobile 5.0 in C# running on the Compact Framework 1.0? I only need to get the most recently visited URL. Even if you just know where this is stored, I might be able to figure out the rest from there.
推荐答案
它应该正常存储在'\windows \profiles\guest \History *'
It should normally be stored in '\windows\profiles\guest\History*'
然而,使用以下方法从注册表中检索此位置可能更好:
It might however be better to retreive this location from the registry using:
using Microsoft.Win32;
RegistryKey foldersKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders");
string historyFolder = foldersKey.GetValue("History");
这篇关于Windows Mobile Internet Explorer历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文