internal void Disconnect() { if (card != null) { Disconnect(card.Card, Disposition.SCARD_LEAVE_CARD); card = null; } }
internal FelicaCard Connect(IntPtr context) { card = Connect(context, ReaderState.szReader, Share.SCARD_SHARE_SHARED, Protocol.SCARD_PROTOCOL_Tx); return(card); }