Windows Mobile Internet Explorer History

我是研究僧i 提交于 2019-12-12 00:46:51

问题


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.


回答1:


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



回答2:


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.



来源:https://stackoverflow.com/questions/5995203/windows-mobile-internet-explorer-history

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!