Show / Hide Table of Contents

YubiKeyDeviceListener Class

Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dll

This class provides events for YubiKeyDevice arrival and removal.

C#
public class YubiKeyDeviceListener
Inheritance object YubiKeyDeviceListener

Properties

Name Description
Instance

An instance of a YubiKeyDeviceListener.

Methods

Name Description
Dispose()

Calls Dispose(true).

Dispose(bool)

Disposes the objects.

~YubiKeyDeviceListener()
StopListening()

Disposes and closes the singleton instance of YubiKeyDeviceListener.

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.

In this article
Back to top Generated by DocFX