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

TlsSocket.DisposeAsync Method

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

DisposeAsync(Boolean)

Asynchronously releases the unmanaged resources used by the TlsSocket and optionally releases the managed resources.

Declaration
protected virtual async Task DisposeAsync(bool disposing)
Parameters
Type Name Description
Boolean disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Returns
Type Description
Task

DisposeAsync()

Asynchronously releases resources used by the TlsSocket.

Declaration
public async Task DisposeAsync()
Returns
Type Description
Task

A task that represents the dispose operation.

In This Article
  • DisposeAsync(Boolean)
  • DisposeAsync()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies