#### [SHTCGClient](index.md 'index') ### [SHTCGClient](SHTCGClient.md 'SHTCGClient').[ClientService](SHTCGClient.ClientService.md 'SHTCGClient\.ClientService') ## ClientService\.DisposeAsync\(\) Method Async disposal\. Put the ClientService in an "await using" block for this to automatically clean up\. ```csharp public System.Threading.Tasks.ValueTask DisposeAsync(); ``` Implements [DisposeAsync\(\)](https://learn.microsoft.com/en-us/dotnet/api/system.iasyncdisposable.disposeasync 'System\.IAsyncDisposable\.DisposeAsync') #### Returns [System\.Threading\.Tasks\.ValueTask](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask 'System\.Threading\.Tasks\.ValueTask')