Specifies the DNS identity of the server.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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.)
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” .
Available since 8
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.