pcsc-sharp : PCSC Namespace

SCardShareMode Enum

Mode of connection type: exclusive or shared.

public enum SCardShareMode

Remarks

SCardShareMode.Direct can be used before using ISCardReader.Control(IntPtr, Byte[], Byte[]@) to send control commands to the reader even if a card is not present in the reader. Contrary to Windows winscard behavior, the reader is accessed in shared mode and not exclusive mode.

Members

Member Name Description
Direct Direct control of the reader, even without a card. (SCARD_SHARE_DIRECT)
Exclusive This application will NOT allow others to share the reader. (SCARD_SHARE_EXCLUSIVE)
Shared This application will allow others to share the reader. (SCARD_SHARE_SHARED)

Requirements

Namespace: PCSC
Assembly: pcsc-sharp (in pcsc-sharp.dll)
Assembly Versions: 1.0.0.0, 2.0.0.0, 2.0.0.1