LumiSoft Net Help
GetEmailHosts Method (domain)
Namespaces ► LumiSoft.Net.DNS.Client ► Dns_Client ► GetEmailHosts(String)
Gets email hosts.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public HostEntry[] GetEmailHosts(
    	string domain
    )

    Public Function GetEmailHosts (
    	domain As String
    ) As HostEntry()

    public:
    array<HostEntry^>^ GetEmailHosts(
    	String^ domain
    )

    member GetEmailHosts :
            domain : string -> HostEntry[]

Parameters

domain (String)
  Email domain. For example: 'domain.com'.

Return Value
array<HostEntry>[]()[][]
Returns email hosts in priority order.
Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed.
ArgumentNullException | Is raised when domain is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
DNS_ClientException | Is raised when DNS server returns error.
IOException | Is raised when IO reletaed error happens.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119