How do I get my current DNS Server in C#?
See the MSDN on IPInterfaceProperties.DnsAddresses for sample code.