开发者

Windows Mobile Internet Explorer History

开发者 https://www.devze.com 2023-03-05 13:17 出处:网络
How do I grab Internet Explorer\'s history on Windows Mobile 5.0 in C# running on the Compac开发者_运维知识库t Framework 1.0? I only need to get the most recently visited URL. Even if you just know wh

How do I grab Internet Explorer's history on Windows Mobile 5.0 in C# running on the Compac开发者_运维知识库t 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.


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");


If it's stored in the registry (I'm not saying it is, but it's a reasonable place to investigate), then finding it is easy with the following steps:

  • Attach the Remote Registry Editor to the device/emulator
  • Export the entire registry to a file on your PC
  • Use the browser on the device to generate more history
  • Export the entire registry again to a file on your PC
  • Use your favorite DIFF program to compare the two registry dumps

If history is stored in the registry, it will come up quickly as the only changes between the files.

0

精彩评论

暂无评论...
验证码 换一张
取 消