Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DnsEndpointIdentity Class


Specifies the DNS identity of the server.

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


public class DnsEndpointIdentity : EndpointIdentity


Initializes a new instance of the DnsEndpointIdentity class from a claim.


Initializes a new instance of this class from a DNS name.


Gets the identity claim that corresponds to the identity. (Inherited from EndpointIdentity.)


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.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Provides a hash code for the current instance of the identity.(Inherited from EndpointIdentity.)


Gets the Type of the current instance.(Inherited from Object.)


Initializes an EndpointIdentity with the specified claim.(Inherited from EndpointIdentity.)

System_CAPS_protmethodInitialize(Claim, IEqualityComparer<Claim>)

Initializes an EndpointIdentity with the specified claim and an interface and compares equality.(Inherited from EndpointIdentity.)


Creates a shallow copy of the current Object.(Inherited from Object.)


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 “” for Windows authentication mode is equivalent to specifying the SpnEndpointIdentity “host/” .

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
© 2017 Microsoft