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 |
---|---|
System.NotSupportedException |