Search code examples
c#internet-explorerwindows-mobilecompact-frameworkbrowser-history

Windows Mobile Internet Explorer History


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.


Solution

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