This class library uses P/Invoke to call the native PC/SC API functions and wraps them into .Net objects. The wrapper classes are written in C#.
Currently supported systems (tested):
Operating System | System library |
---|---|
Windows 7 (64bit) Professional | Winscard.dll |
Ubuntu Linux 10.10 (32bit/64bit) | libpcsclite.so.1 |
Windows XP/Vista (32bit) has not been tested and is therefore currently not supported!
Type | Description |
---|---|
CardInitializedEvent | The reader has been Initialized. |
CardInsertedEvent | A new card has been inserted. |
CardRemovedEvent | A card has been removed. |
CardStatusEventArgs | Information about a smart card reader status. |
CommunicationErrorException | A communication error occurred. |
InsufficientBufferException | A supplied buffer is insufficient. |
InternalErrorException | An internal error occurred. |
InvalidContextException | Invalid PC/SC context exception. |
InvalidParameterException | One or more arguments contain invalid parameters. |
InvalidProtocolException | An invalid protocol has been requested. |
InvalidScopeTypeException | Invalid PC/SC scope exception. |
InvalidShareModeException | The share mode is invalid. |
InvalidValueException | One or more arguments contain invalid values. |
ISCardReader | Common functions that are needed to operate on Smart Card readers. |
MonitorExceptionEvent | An PC/SC error occurred during monitoring. |
NoServiceException | The PC/SC service is not running. |
NoSmartcardException | No smart card is currently inserted. |
NotReadyException | The reader or the smart card is not ready. |
PCSCException | A general PC/SC exception. |
ReaderUnavailableException | The requested reader is unavailable. |
RemovedCardException | A smart card has been removed. |
SCardAttr | Smart card reader attribute enumeration. |
SCardClass | Documentation for this section has not yet been entered. |
SCardContext | Manages an Application Context to the PC/SC Resource Manager. |
SCardError | Error and return codes. |
SCardHelper | Helper class that offers methods to convert various values into strings. |
SCardMonitor | Monitors a Smart Card reader and triggers events on status changes. |
SCardPCI | Structure of protocol information. |
SCardProtocol | Communication protocol use with the Smart Card. |
SCardReader | Operates on a Smart Card reader. |
SCardReaderDisposition | Action to be taken on the reader. |
SCardReaderState | A structures that contains the old and the new Smart Card reader status. |
SCardScope | Scope of the establishment. |
SCardShareMode | Mode of connection type: exclusive or shared. |
SCardState | State of a reader. |
SCRState | Reader state. |
SharingViolationException | A sharing violation occurred. |
StatusChangeEvent | A general reader status change. |
StatusChangeEventArgs | Information about a smart card reader status change. |
UnknownReaderException | The requested reader name is unknown. |
UnpoweredCardException | The smart card is unpowered. |
UnresponsiveCardException | The smart card is unresponsive. |
UnsupportedFeatureException | The requested feature is unsupported. |