Język

TlsSocketSession Class

Definition

public ref class TlsSocketSession sealed : System::Net::Security::TlsSession
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class TlsSocketSession : System.Net.Security.TlsSession
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type TlsSocketSession = class
    inherit TlsSession
Public NotInheritable Class TlsSocketSession
Inherits TlsSession
Inheritance
TlsSocketSession
Attributes

Constructors

Name Description
TlsSocketSession(SafeSocketHandle)

Properties

Name Description
ClientHelloInfo (Inherited from TlsSession)
HasPendingOutput (Inherited from TlsSession)
IsHandshakeComplete (Inherited from TlsSession)
LocalCertificate (Inherited from TlsSession)
NegotiatedApplicationProtocol (Inherited from TlsSession)
NegotiatedCipherSuite (Inherited from TlsSession)
NegotiatedProtocol (Inherited from TlsSession)
Socket
TargetHostName (Inherited from TlsSession)

Methods

Name Description
AcceptWithDefaultValidation() (Inherited from TlsSession)
Dispose() (Inherited from TlsSession)
Equals(Object)

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

(Inherited from Object)
GetAcceptableIssuers() (Inherited from TlsSession)
GetChannelBinding(ChannelBindingKind) (Inherited from TlsSession)
GetClientHelloLength() (Inherited from TlsSession)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRemoteCertificate() (Inherited from TlsSession)
GetRemoteCertificates() (Inherited from TlsSession)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Handshake()
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Read(Span<Byte>, Int32)
RequestClientCertificate()
SetClientCertificateContext(SslStreamCertificateContext) (Inherited from TlsSession)
SetContext(TlsContext) (Inherited from TlsSession)
SetRemoteCertificateValidationResult(SslPolicyErrors) (Inherited from TlsSession)
Shutdown()
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetClientHelloBytes(Span<Byte>, Int32) (Inherited from TlsSession)
Write(ReadOnlySpan<Byte>, Int32)

Applies to