EndpointIdentity Class

An abstract class that when implemented provides an identity that enables the authentication of an endpoint by clients that exchange messages with it.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract class EndpointIdentity

The EndpointIdentity type exposes the following members.

  NameDescription
Protected methodSupported in .NET for Windows Store appsEndpointIdentityCreates an empty EndpointIdentity instance.
Top

  NameDescription
Public propertyIdentityClaimGets the identity claim that corresponds to the identity.
Top

  NameDescription
Public methodStatic memberCreateDnsIdentityCreates a DNS identity with a specified DNS name.
Public methodStatic memberCreateIdentityCreates an identity with the specified claim.
Public methodStatic memberCreateRsaIdentity(String)Creates an RSA identity with the specified public key.
Public methodStatic memberCreateRsaIdentity(X509Certificate2)Creates an RSA identity with the specified X.509 certificate.
Public methodStatic memberCreateSpnIdentityCreates a server principal name (SPN) identity with a specified name.
Public methodStatic memberCreateUpnIdentityCreates a user principal name (UPN) identity with a specified name.
Public methodStatic memberCreateX509CertificateIdentity(X509Certificate2)Creates an X509Certificate identity with the specified certificate.
Public methodStatic memberCreateX509CertificateIdentity(X509Certificate2, X509Certificate2Collection)Creates an X509Certificate identity with the specified primary and supporting certificates.
Public methodSupported in .NET for Windows Store appsEqualsReturns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties. (Overrides Object.Equals(Object).)
Protected methodSupported in .NET for Windows Store appsFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetHashCodeProvides a hash code for the current instance of the identity. (Overrides Object.GetHashCode().)
Public methodSupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitialize(Claim)Initializes an EndpointIdentity with the specified claim.
Protected methodInitialize(Claim, IEqualityComparer<Claim>)Initializes an EndpointIdentity with the specified claim and an interface and compares equality.
Protected methodSupported in .NET for Windows Store appsMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsToStringReturns the identity. (Overrides Object.ToString().)
Top

The value of the identity for an endpoint can be set with constructors of EndpointAddress, where its value can also be accessed as a read-only Identity property.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Store apps

Supported in: Windows 8

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft