[DllImport("winscard.dll", SetLastError = true)] public static extern int SCardConnect( IntPtr hContext, string szReader, uint dwShareMode, uint dwPreferredProtocols, out IntPtr phCard, out uint pdwActiveProtocol );
Microsoft documentation: Link
Last updated 1 year ago