System.Net.Mail.MailAddress.Host Property

Gets the host portion of the address specified when this instance was created.

Syntax

public string Host { get; }

Value

Documentation for this section has not yet been entered.

Remarks

In a typical e-mail address, the host string includes all information following the "@" sign. For example, in "tsmith@contoso.com", the host is "contoso.com".

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0