NegotiateAuthentication.RemoteIdentity Property (System.Net.Security) (original) (raw)

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 information about the identity of the remote party.

public:
 property System::Security::Principal::IIdentity ^ RemoteIdentity { System::Security::Principal::IIdentity ^ get(); };
public System.Security.Principal.IIdentity RemoteIdentity { get; }
member this.RemoteIdentity : System.Security.Principal.IIdentity
Public ReadOnly Property RemoteIdentity As IIdentity

Property Value

An IIdentity object that describes the identity of the remote endpoint.

Exceptions

Authentication failed or has not occurred.

System error occurred when trying to retrieve the identity.

Applies to