How can you delete temporary internet files and ignore index.dat in c# ?
(this refers to C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\ )
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 4351"); // Delete All - Also delete files and settings stored by add-ons
parameters that can be used:
Temporary Internet Files
ClearMyTracksByProcess 8
ClearMyTracksByProcess 8
Cookies
ClearMyTracksByProcess 2
ClearMyTracksByProcess 2
History
ClearMyTracksByProcess 1
ClearMyTracksByProcess 1
Form Data
ClearMyTracksByProcess 16
ClearMyTracksByProcess 16
Passwords
ClearMyTracksByProcess 32
ClearMyTracksByProcess 32
Delete All
ClearMyTracksByProcess 255
ClearMyTracksByProcess 255
Delete All – Also delete files and settings stored by add-ons
ClearMyTracksByProcess 4351
ClearMyTracksByProcess 4351