How can I find the MX record for a mail server in C#?
The NMail project contains a DNS client under trunk/NMail.DnsClient. The project is available under the Apache license.