Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TlsStream.WriteAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Tls.dll (version 7.0.9147)

WriteAsync(Byte[], Int32, Int32, CancellationToken)

Asynchronously writes data into this TlsStream.

Declaration
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
Type Name Description
Byte[] buffer

An array of bytes to be written.

Int32 offset

The zero-based byte offset in the buffer at which to begin writing bytes to the stream.

Int32 count

The number of bytes to be taken from the buffer.

CancellationToken cancellationToken

Cancellation token.

Returns
Type Description
Task

A Task that represents the asynchronous operation.

Overrides
Stream.WriteAsync(Byte[], Int32, Int32, CancellationToken)
In This Article
  • WriteAsync(Byte[], Int32, Int32, CancellationToken)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies