How to delete Internet Explorer's temporary files and cookies with C#

by Matthias Broschk October 14, 2008 01:59
If your application uses the WebBrowser control, due to privacy/security concerns you might want to clean up the browser cache when the application terminates. The IE's temporary files are stored in a special sub-directory in your "Documents and Settings\[Username]\Local Settings' directory called Temporary Internet Files. Although this looks like a normal directory (when opened with Windows ... [More]

Tags: , , , ,

C# | Internet Explorer

How to open an Url within the default system web browser

by Matthias Broschk August 31, 2006 14:34
This is a really quick and dirty solution for the case when you want to to open URLs from your desktop application. Private Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" (ByVal hwnd As Integer, ByVal lpOperation As String, _ ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Integer) As Integer Public Shared Su... [More]

Tags: ,

Internet Explorer

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen | Modified by Mooglegiant

About the author

Matthias Broschk from Hamburg (Germany) wrote his first goto statements in QuickBasic at the age of fifteen, switched to Visual Studio (i.e. Visual Basic / Visual C++) at version 5.0 and has been an addict of .NET since its early beginnings. There have been many other languages and frameworks (Java, PHP, ... ), but none about which he has been as enthusiastic as .NET. These days you can find more information in blogs rather than anywhere else. Therefore he has decided to share his experiences and start yet another .NET blog.