Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than winscard, prefix the name with the module name and a period.
SCardStatus (winscard)
.
C# Signature:
[DllImport("winscard.dll")]
static extern int SCardStatus(
uint hCard,
IntPtr szReaderName,
ref int pcchReaderLen,
ref int pdwState,
ref uint pdwProtocol,
byte[] pbAtr,
ref int pcbAtrLen);
User-Defined Types:
None.
[DllImport("winscard.dll")]
static extern int SCardStatus(
int hCard,
ref IntPtr szReaderName,
ref int pcchReaderLen,
ref int pdwState,
ref int pdwProtocol,
byte[] pbAtr,
ref int pcbAtrLen);
Notes:
User-Defined Types:
None.
Tips & Tricks:
Please add some!
Notes:
None.
Sample Code:
Tips & Tricks:
Please add some!
Alternative Managed API:
TODO
Sample Code:
Please add some!
Alternative Managed API:
TODO
The SCardStatus function provides the current status of a smart card in a reader. You can call it any time after a successful call to SCardConnect and before a successful call to SCardDisconnect. It does not affect the state of the reader or reader driver.
12/12/2013 12:09:24 PM - Chris Drake-153.23.1.60
The SCardConnect function establishes a connection (using a specific resource manager context) between the calling application and a smart card contained by a specific reader. If no card exists in the specified reader, an error is returned.
2/20/2012 7:46:16 PM - -60.49.32.216
The SCardDisconnect function terminates a connection previously opened between the calling application and a smart card in the target reader.
7/27/2022 7:16:15 AM - HussainAkbar@gmail.com-101.53.248.253
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).