Do you try like this way?
string _tempInetFile = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache);
string _cookies = Environment.GetFolderPath(Environment.SpecialFolder.Cookies);
string _history = Environment.GetFolderPath(Environment.SpecialFolder.History);
List<string> folderPathList = new List<string> { _tempInetFile, _cookies, _history };
foreach(string dirpath in folderPathList)
try
{
Directory.Delete(dirpath, true);
}
catch{}
Also have some reference from these:
The Tiny Wrapper Class for URL History Interface in C#[
^]
HOw to Clear Cache,Cookies and History of All Browser in C#.net [
^]