How can i disable Mozilla,IE,Chrome etc histories??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aashish09engineer
    New Member
    • Dec 2009
    • 3

    How can i disable Mozilla,IE,Chrome etc histories??

    I m working on a silverlight application. now i need to either delete the complete history or deleting the history for webpages/websites redirected through my application??
  • aashish09engineer
    New Member
    • Dec 2009
    • 3

    #2
    hey i got the way bt again der is a problem

    Code:
    string[] newFiles = Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache), "*", SearchOption.AllDirectories);
            for (int i = 0; i < newFiles.Count(); i++)
            {
                System.IO.File.Delete(newFiles.ElementAt(i));
                
            }

    i used the above code bt again the problem occurs while deleting "desktop.ini"," index.dat" n other system related files...

    now wat to do??

    Is there any way to delete these files forcefully???

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      You really shouldn't be creating/deleting files on a users computer. That's rather underhanded.
      Why do you need to do this?

      Comment

      Working...