System.Net.Mail.MailAddress.User Property

Gets the user information from the address specified when this instance was created.

Syntax

public string User { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

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