TlsClientSocket.DisposeAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
DisposeAsync(Boolean)
Asynchronously releases the unmanaged resources used by the TlsSocket and optionally releases the managed resources. Inherited from TlsSocket.
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()
Declaration
public async Task DisposeAsync()
Returns
Type | Description |
---|---|
Task | A task that represents the dispose operation. |