Lire en anglais Modifier

Partager via


DnsEndpointIdentity Class

Definition

Specifies the DNS identity of the server.

public class DnsEndpointIdentity : System.ServiceModel.EndpointIdentity
Inheritance
DnsEndpointIdentity

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)

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

DnsEndpointIdentity(String)

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

Properties

IdentityClaim

Gets the identity claim that corresponds to the identity.

(Inherited from EndpointIdentity)

Methods

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

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, IEqualityComparer<Claim>)

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

(Inherited from EndpointIdentity)
Initialize(Claim)

Initializes an EndpointIdentity with the specified claim.

(Inherited from EndpointIdentity)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the identity.

(Inherited from EndpointIdentity)

Applies to

Produit Versions
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0