Share via


HttpWebRequest.Credentials Property

Gets or sets the user's network credentials, if the user has sent a user name and password.

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

Syntax

public NetworkCredential Credentials { get; set; }

Property Value

The user's network credentials, if the user has sent a user name and password.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

HttpWebRequest Class
HttpWebRequest Members
System.Net Namespace