Method CloseAsync() CloseAsync() Asynchronously releases resources used by the TlsSocket. Inherited from TlsSocket. Declaration public async Task CloseAsync() Returns Type Description Task A task that represents the close operation.