Language

TlsSession Class

Definition

public ref class TlsSession abstract : IDisposable
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public abstract class TlsSession : IDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type TlsSession = class
    interface IDisposable
Public MustInherit Class TlsSession
Implements IDisposable
Inheritance
TlsSession
Derived
Attributes
Implements

Properties

Name Description
ClientHelloInfo
HasPendingOutput
IsHandshakeComplete
LocalCertificate
NegotiatedApplicationProtocol
NegotiatedCipherSuite
NegotiatedProtocol
TargetHostName

Methods

Name Description
AcceptWithDefaultValidation()
Dispose()
Equals(Object)

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

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

Serves as the default hash function.

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

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetClientCertificateContext(SslStreamCertificateContext)
SetContext(TlsContext)
SetRemoteCertificateValidationResult(SslPolicyErrors)
ToString()

Returns a string that represents the current object.

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

Applies to