public void Dispose() { try { _IsDisposed = true; if (_UdpClient != null) { _UdpClient.Dispose(); } } finally { GC.SuppressFinalize(this); } }