|
HID OMNIKEY Smart Card Readers' Sample Codes
0.0.0.116
|
Public Member Functions | |
| void | Establish (Scope scope) |
| Establish context handle for winscard resource manager. More... | |
| void | Release () |
| Release context handle established by Establish(Scope). More... | |
| void | ReEstablish () |
| Establish context handle with Scope used in previous call of Establish(Scope). More... | |
| bool | IsValid () |
| Check if curently held context handle is valid. More... | |
| IReadOnlyList< string > | ListReaders (IReadOnlyList< string > readerGroups) |
| Lists readers within given reader groups. More... | |
| IReadOnlyList< string > | ListReaders () |
| List all available readers. More... | |
| IReadOnlyList< string > | ListReaderGroups () |
| List reader groups existing in the system. More... | |
| void | IntroduceReaderGroup (string groupName) |
| Introduce new reader group to the smart card resource manager. More... | |
| void | ForgetReaderGroup (string groupName) |
| Deletes reader group from smart card resource manager. More... | |
| void | IntroduceReader (string readerName, string deviceName) |
| Introduce additional alias of given device to the smart card resource manager. More... | |
| void | ForgetReader (string readerName) |
| Removes reader from the smart card resource manager. More... | |
| void | AddReaderToGroup (string readerName, string groupName) |
| Add specified reader to the reader group. Group need to be introduced by IntroduceReaderGroup(string) beforehand. More... | |
| void | RemoveReaderFromGroup (string readerName, string groupName) |
| Removes reader form the group. More... | |
| void | Cancel () |
| Cancel blocking request of GetStatusChange(int,ReaderState[]). More... | |
| IReadOnlyList< ReaderState > | GetStatusChange (int timeout, IReadOnlyList< ReaderState > readerStates) |
| IReadOnlyList< ReaderState > | GetReaderState (IReadOnlyDictionary< string, ReaderStates > readerNamesWithStatesDictionary) |
| ReaderState | GetReaderState (string reader, ReaderStates stateOfTheReader) |
Properties | |
| IntPtr | Handle [get] |
| Retrives the context handle. More... | |
| void HidGlobal.OK.Readers.IContextHandler.AddReaderToGroup | ( | string | readerName, |
| string | groupName | ||
| ) |
Add specified reader to the reader group. Group need to be introduced by IntroduceReaderGroup(string) beforehand.
| readerName | Name of the reader. |
| groupName | Name of the group. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.Cancel | ( | ) |
Cancel blocking request of GetStatusChange(int,ReaderState[]).
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.Establish | ( | Scope | scope | ) |
Establish context handle for winscard resource manager.
| scope | Defines for the scope input parameter of SCardEstablishContext |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.ForgetReader | ( | string | readerName | ) |
Removes reader from the smart card resource manager.
| readerName | Name of the reader. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.ForgetReaderGroup | ( | string | groupName | ) |
Deletes reader group from smart card resource manager.
| groupName | Name of the reader group. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| IReadOnlyList<ReaderState> HidGlobal.OK.Readers.IContextHandler.GetReaderState | ( | IReadOnlyDictionary< string, ReaderStates > | readerNamesWithStatesDictionary | ) |
| readerNamesWithStatesDictionary | Dictionary key is PCSC reader name returned by SCardListReaders(), value is actual reader state ReaderStates known by application. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| ReaderState HidGlobal.OK.Readers.IContextHandler.GetReaderState | ( | string | reader, |
| ReaderStates | stateOfTheReader | ||
| ) |
| reader | PCSC reader name returned by SCardListReaders(). |
| stateOfTheReader | actual reader state ReaderStates known by application. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| IReadOnlyList<ReaderState> HidGlobal.OK.Readers.IContextHandler.GetStatusChange | ( | int | timeout, |
| IReadOnlyList< ReaderState > | readerStates | ||
| ) |
| timeout | |
| readerStates |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.IntroduceReader | ( | string | readerName, |
| string | deviceName | ||
| ) |
Introduce additional alias of given device to the smart card resource manager.
| readerName | Additional name for the device. |
| deviceName | Name of the device. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.IntroduceReaderGroup | ( | string | groupName | ) |
Introduce new reader group to the smart card resource manager.
Reader group will be created only after additon of first reader to it.
| groupName | Name of the reader group. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| bool HidGlobal.OK.Readers.IContextHandler.IsValid | ( | ) |
Check if curently held context handle is valid.
Implemented in HidGlobal.OK.Readers.ContextHandler.
| IReadOnlyList<string> HidGlobal.OK.Readers.IContextHandler.ListReaderGroups | ( | ) |
List reader groups existing in the system.
Implemented in HidGlobal.OK.Readers.ContextHandler.
| IReadOnlyList<string> HidGlobal.OK.Readers.IContextHandler.ListReaders | ( | IReadOnlyList< string > | readerGroups | ) |
Lists readers within given reader groups.
| readerGroups | Names of the reader groups |
Implemented in HidGlobal.OK.Readers.ContextHandler.
| IReadOnlyList<string> HidGlobal.OK.Readers.IContextHandler.ListReaders | ( | ) |
List all available readers.
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.ReEstablish | ( | ) |
Establish context handle with Scope used in previous call of Establish(Scope).
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.Release | ( | ) |
Release context handle established by Establish(Scope).
Implemented in HidGlobal.OK.Readers.ContextHandler.
| void HidGlobal.OK.Readers.IContextHandler.RemoveReaderFromGroup | ( | string | readerName, |
| string | groupName | ||
| ) |
Removes reader form the group.
| readerName | Name of the reader. |
| groupName | Name of the group. |
Implemented in HidGlobal.OK.Readers.ContextHandler.
|
get |
Retrives the context handle.