Asynchronously releases the unmanaged resources used by the TlsSocket and optionally releases the managed resources.
Inherited from TlsSocket.
protected virtual async Task DisposeAsync(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
public async Task DisposeAsync()
A task that represents the dispose operation.