YubiKeyDeviceListener Class
Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dllThis class provides events for YubiKeyDevice arrival and removal.
C#
public class YubiKeyDeviceListener : Object, IDisposable
Inheritance
System.Object
YubiKeyDeviceListener
Implements
System.IDisposable
Properties
Name | Description |
---|---|
Instance | An instance of a YubiKeyDeviceListener. |
Methods
Name | Description |
---|---|
Dispose() | Calls Dispose(true). |
Dispose(Boolean) | Disposes the objects. |
Finalize() |
Events
Name | Description |
---|---|
Arrived | Subscribe to receive an event whenever a YubiKey is added to the computer. |
Removed | Subscribe to receive an event whenever a YubiKey is removed from the computer. |