DnsEndpointIdentity Class

 

Specifies the DNS identity of the server.

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

System.Object
  System.ServiceModel.EndpointIdentity
    System.ServiceModel.DnsEndpointIdentity

public class DnsEndpointIdentity : EndpointIdentity

NameDescription
System_CAPS_pubmethodDnsEndpointIdentity(Claim)

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

System_CAPS_pubmethodDnsEndpointIdentity(String)

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

NameDescription
System_CAPS_pubpropertyIdentityClaim

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

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodInitialize(Claim)

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

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

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

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
Show: