c# app: accessing internet explorer cache to display its contents

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dearprasan
    New Member
    • May 2008
    • 3

    c# app: accessing internet explorer cache to display its contents

    I have a custom browser application built in C#. I want to access the Internet Explorer's Cache to display contents on this custom browser application.

    For example: If the user types "www.msn.co m" in my custom browser, I look into the local cache folder for "www.msn.co m" and display its contents.


    A not-so-good idea to achieve this is to iterate through the 'Temporary Internet Files' folder contents, one by one, until I find the correct file, which becomes very time consuming if there already are too many files in the 'Temporary Internet Files' folder.

    I have noticed how fast the Internet Explorer displays contents when user hits the 'Back' button, or when we browse files offline. It gives me a feeling that there is some object in .net that allows quick access of files in local folder.

    Can anyone suggest what is the best way to look into Temporary Internet Files folder and obtain a stored content ( webpage, picture ) quickly ?
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Not sure what you are trying to achieve, but this may help:
    ASP.NET Caching Basics

    Comment

    Working...