DnsEndpointIdentity DnsEndpointIdentity DnsEndpointIdentity DnsEndpointIdentity Class

Definition

Specifies the DNS identity of the server.

public ref class DnsEndpointIdentity : System::ServiceModel::EndpointIdentity
public class DnsEndpointIdentity : System.ServiceModel.EndpointIdentity
type DnsEndpointIdentity = class
    inherit EndpointIdentity
Public Class DnsEndpointIdentity
Inherits EndpointIdentity
Inheritance
DnsEndpointIdentityDnsEndpointIdentityDnsEndpointIdentityDnsEndpointIdentity

Remarks

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

Constructors

DnsEndpointIdentity(Claim) DnsEndpointIdentity(Claim) DnsEndpointIdentity(Claim) DnsEndpointIdentity(Claim)

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

DnsEndpointIdentity(String) DnsEndpointIdentity(String) DnsEndpointIdentity(String) DnsEndpointIdentity(String)

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(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)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Provides a hash code for the current instance of the identity.

(Inherited from EndpointIdentity)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(Claim) Initialize(Claim) Initialize(Claim) Initialize(Claim)

Initializes an EndpointIdentity with the specified claim.

(Inherited from EndpointIdentity)
Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>)

Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(Inherited from EndpointIdentity)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the identity.

(Inherited from EndpointIdentity)

Properties

IdentityClaim IdentityClaim IdentityClaim IdentityClaim

Gets the identity claim that corresponds to the identity.

(Inherited from EndpointIdentity)

Applies to