An NDoc Documented Class Library

DNSLookup.GetMXRecords Method 

Returns all MX records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one MX record for a hostname.

public MXRecord[] GetMXRecords();

Return Value

An array of MX records.

See Also

DNSLookup Class | Lavantech.Dns Namespace