Specifies the DNS identity of the server.
Assemblies: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Security (in System.ServiceModel.Security.dll)
Thetype exposes the following members.
|Equals||Returns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties. (Inherited from EndpointIdentity.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Provides a hash code for the current instance of the identity. (Inherited from EndpointIdentity.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Initialize(Claim)||Initializes an EndpointIdentity with the specified claim. (Inherited from EndpointIdentity.)|
|Initialize(Claim, IEqualityComparer<Claim>)||Initializes an EndpointIdentity with the specified claim and an interface and compares equality. (Inherited from EndpointIdentity.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns the identity. (Inherited from EndpointIdentity.)|
This class specifies the expected identity of the server. This identity is valid for X509 Certificate authentication mode if the server’s certificate contains a DNS with the same value. It is also valid for Windows authentication mode if the SPN has the same value. In this case, a client specifying the DnsEndpointIdentity “server1.microsoft.com” for Windows authentication mode is equivalent to specifying the SpnEndpointIdentity “host/server1.microsoft.com” .
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.