Share via


WebRequestSession.Credentials Property

Definition

Gets or sets the Credentials property.

public:
 property System::Net::ICredentials ^ Credentials { System::Net::ICredentials ^ get(); void set(System::Net::ICredentials ^ value); };
public System.Net.ICredentials Credentials { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public System.Net.ICredentials? Credentials { [System.Runtime.CompilerServices.NullableContext(2)] get; [System.Runtime.CompilerServices.NullableContext(2)] set; }
member this.Credentials : System.Net.ICredentials with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
[<get: System.Runtime.CompilerServices.NullableContext(2)>]
[<set: System.Runtime.CompilerServices.NullableContext(2)>]
member this.Credentials : System.Net.ICredentials with get, set
Public Property Credentials As ICredentials

Property Value

Attributes

Applies to