Gets or sets the collection of DNS servers that will be used to perform MX record lookup.

      Syntax

      public UltimateStringCollection DnsServers { get; }

      Value

      An array of DNS servers to use when performing MX record lookups. The servers will be attempted in list order unless the UseRandomDnsServer flag is set.

      Remarks

      By default the object will try and load the system DNS servers. If the assembly can not access the system settings because of security reasons you must add at least 1 DNS server to this list.

      Framework

      .NET Compact Framework.NET Compact Framework

      Supported version: 2.0, 3.5, and 3.9
      Assembly: ComponentPro.EmailValidator.CF (in ComponentPro.EmailValidator.CF.dll)

      .NET Framework.NET Framework

      Supported version: 2.0, 3.0, 3.5, 4.0, 4.5.x, 4.6.x and later
      Assembly: ComponentPro.EmailValidator (in ComponentPro.EmailValidator.dll)

      Xamarin AndroidXamarin Android

      Supported version: 2.3 and later
      Assembly: ComponentPro.EmailValidator.Android (in ComponentPro.EmailValidator.Android.dll)

      Xamarin iOSXamarin iOS

      Supported version: 5.1.x and later
      Assembly: ComponentPro.EmailValidator.iOS (in ComponentPro.EmailValidator.iOS.dll)

      See Also