Is there a way to flush the DNS cache from a C# WPF app? The application would be running on either XP, Vista, or Windows 7.
This may be the poor-man's solution, but you could use System.Diagnostics.Process to launch ipconfig /flushdns.
System.Diagnostics.Process
ipconfig /flushdns