TlsSocket.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.
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. |