[DllImport("winscard.dll", SetLastError = true)] public static extern int SCardTransmit( IntPtr hCard, ref SCARD_IO_REQUEST pioSendPci, byte[] pbSendBuffer, uint cbSendLength, IntPtr pioRecvPci, byte[] pbRecvBuffer, ref uint pcbRecvLength );
Microsoft documentation: Link
Last updated 1 year ago