Uredi

Deli z drugimi prek


TcpTransportSecurity Class

Definition

Provides properties that control authentication parameters and protection level for the TCP transport.

public ref class TcpTransportSecurity sealed
public sealed class TcpTransportSecurity
type TcpTransportSecurity = class
Public NotInheritable Class TcpTransportSecurity
Inheritance
TcpTransportSecurity

Remarks

This class is used by Transport to set the transport-level security settings for a binding.

Constructors

TcpTransportSecurity()

Initializes a new instance of the TcpTransportSecurity class.

Properties

ClientCredentialType

Gets or sets the type of client credential used for authentication.

ExtendedProtectionPolicy

Gets or sets the extended protection policy for the TCP transport.

ProtectionLevel

Gets or sets the ProtectionLevel for the TCP stream.

SslProtocols

Specifies the list of SSL/TLS protocols to negotiate when using a client credential type of TcpClientCredentialType.Certificate. The value can be a combination of one of more of the following enumeration members: Ssl3, Tls, Tls11, Tls12.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeExtendedProtectionPolicy()

Returns a value that indicates whether the ExtendedProtectionPolicy property has changed from its default value and should be serialized. It is used by WCF for XAML integration.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to