Ejemplo n.º 1
0
 public void Close()
 {
     if (handler != null && !handler.IsInvalid && !handler.IsClosed)
     {
         handler.Dispose();
     }
     handler = null;
 }
Ejemplo n.º 2
0
 internal static extern uint SCardTransmit(CardSafeHandler hCard, SCARD_IO_REQUEST pioSendPci, byte[] pbSendBuffer, int cbSendLength, [In, Out] SCARD_IO_REQUEST pioRecvPci, [Out] byte[] pbRecvBuffer, [In, Out] ref int pcbRecvLength);
Ejemplo n.º 3
0
 internal static extern uint SCardBeginTransaction(CardSafeHandler hCard);
Ejemplo n.º 4
0
 internal static extern uint SCardEndTransaction(CardSafeHandler hCard, CardDisposition dwDisposition);
Ejemplo n.º 5
0
 internal static extern uint SCardConnect(CardContextSafeHandler hContext, String szReader, CardShareMode dwShareMode, CardProtocols dwPreferredProtocols, out CardSafeHandler phCard, out CardProtocols pdwActiveProtocol);
Ejemplo n.º 6
0
 internal static extern uint SCardGetAttrib(CardSafeHandler hCard, CardAttrId dwAttrId, IntPtr pbAttr, ref int pcbAttrLen);
Ejemplo n.º 7
0
 internal static extern uint SCardTransmit(CardSafeHandler hCard, SCARD_IO_REQUEST pioSendPci, byte[] pbSendBuffer, int cbSendLength, [In, Out] SCARD_IO_REQUEST pioRecvPci, [Out] byte[] pbRecvBuffer, [In, Out] ref int pcbRecvLength);
Ejemplo n.º 8
0
 internal static extern uint SCardGetAttrib(CardSafeHandler hCard, CardAttrId dwAttrId, IntPtr pbAttr, ref int pcbAttrLen);
Ejemplo n.º 9
0
 internal static extern uint SCardEndTransaction(CardSafeHandler hCard, CardDisposition dwDisposition);
Ejemplo n.º 10
0
 internal static extern uint SCardConnect(CardContextSafeHandler hContext, String szReader, CardShareMode dwShareMode, CardProtocols dwPreferredProtocols, out CardSafeHandler phCard, out CardProtocols pdwActiveProtocol);
Ejemplo n.º 11
0
 internal static extern uint SCardBeginTransaction(CardSafeHandler hCard);