/// <summary> /// Releases this resource from memory (implements IDisposable). /// </summary> public void Dispose() { if (client != null) { client.Dispose(); } GC.SuppressFinalize(this); }