UserEndpoint.Credential Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the credential needed to authenticate the endpoint with servers.
public:
property System::Net::NetworkCredential ^ Credential { System::Net::NetworkCredential ^ get(); void set(System::Net::NetworkCredential ^ value); };
public System.Net.NetworkCredential Credential { get; set; }
member this.Credential : System.Net.NetworkCredential with get, set
Public Property Credential As NetworkCredential
Property Value
Remarks
This value is initialized with the credential passed through UserEndpointSettings and can subsequently be overwritten if a different set of credentials is to be used. Use CredentialCache.DefaultNetworkCredentials for logged on user.