Show / Hide Table of Contents

ThrowOnMissingFeature Method

ThrowOnMissingFeature(IYubiKeyDevice, YubiKeyFeature)

Throws a System.NotSupportedException if the YubiKey doesn't support the requested feature.

C#
public static void ThrowOnMissingFeature(this IYubiKeyDevice yubiKeyDevice, YubiKeyFeature feature)

Parameters

Type Name Description
IYubiKeyDevice yubiKeyDevice
YubiKeyFeature feature

Exceptions

Type Condition
NotSupportedException
In this article
Back to top Generated by DocFX