Language

TlsBufferSession.Handshake Method

Definition

public:
 System::Net::Security::TlsOperationStatus Handshake(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesConsumed, [Runtime::InteropServices::Out] int % bytesWritten);
public System.Net.Security.TlsOperationStatus Handshake(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesConsumed, out int bytesWritten);
member this.Handshake : ReadOnlySpan<byte> * Span<byte> * int * int -> System.Net.Security.TlsOperationStatus
Public Function Handshake (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesConsumed As Integer, ByRef bytesWritten As Integer) As TlsOperationStatus

Parameters

source
ReadOnlySpan<Byte>
destination
Span<Byte>
bytesConsumed
Int32
bytesWritten
Int32

Returns

Applies to