Пример #1
0
        public void Dispose()
        {
            Close(true);

            _timer?.Dispose();
            _sock?.Dispose();
            _ms?.Dispose();
            _iStream?.Dispose();
            _oStream?.Dispose();
            Stream?.Dispose();
            _lastListener?.Dispose();
            ClientCertificate?.Dispose();
        }
Пример #2
0
        public void Dispose()
        {
            Close(true);

            _timer?.Dispose();
            _sock?.Dispose();
            _ms?.Dispose();
            _iStream?.Dispose();
            _oStream?.Dispose();
            Stream?.Dispose();
            _lastListener?.Dispose();
#if !NETSTANDARD1_3
            ClientCertificate?.Dispose();
#endif
        }