/// <summary>Disconnects the currently connected reader.</summary> /// <param name="disposition">The action that shall be executed after disconnect.</param> public virtual void Disconnect(SCardReaderDisposition disposition) { if (_reader != null) { _reader.Disconnect(disposition); } }
/// <summary>Disconnects the currently connected reader.</summary> /// <param name="disposition">The action that shall be executed after disconnect.</param> public virtual void Disconnect(SCardReaderDisposition disposition) { _reader?.Disconnect(disposition); }
private void Close() { reader.Disconnect(SCardReaderDisposition.Leave); context.Release(); }