DnsMxRecord Class

Represents a DNS MX record containing mail exchange information (RFC 1035).

public sealed class DnsMxRecord : DnsRecord
Inheritance
DnsRecord DnsMxRecord

Constructors

NameDescription
DnsMxRecord()

DnsMxRecord()

DnsMxRecord.cs
public DnsMxRecord()

No documentation is available.

Properties

NameDescription
ExchangeGets the mail exchange server domain name.
PreferenceGets the preference value. Lower values are preferred.

Gets the mail exchange server domain name.

public string Exchange { get; }

Property value

string

Preference

DnsMxRecord.cs

Gets the preference value. Lower values are preferred.

public ushort Preference { get; }

Property value

ushort