private void Reset() { _lazyChainStatus = null; _chainElements = new X509ChainElementCollection(); IChainPal pal = _pal; _pal = null; if (pal != null) { pal.Dispose(); } }
public void Reset() { // _chainPolicy is not reset for .NET Framework compat _lazyChainStatus = null; _chainElements = null; _useMachineContext = false; IChainPal pal = _pal; _pal = null; if (pal != null) { pal.Dispose(); } }