Share via


NetworkCredential.UserName Property

Gets or sets the username.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public string UserName { get; set; }

Property Value

The username.

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

NetworkCredential Class
NetworkCredential Members
System.Net Namespace