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??
How can i disable Mozilla,IE,Chrome etc histories??
Collapse
X
-
-
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