I am using a WebBrowser control in my WPF application and I am looking to clear the IE cookie cache from code.
I have attempted to use the following code
<
The Microsoft KB Article will help you better and clear the entire Cache.
Link To Refer
However, You can try the following solution too.
string[] InterNetCache = System.IO.Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache));