SignalUserCancel Delegate
Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dllThis delegate defines the signature of a method that can be called to let the SDK know that the user is canceling an operation.
C#
public delegate void SignalUserCancel()
Remarks
Generally a KeyCollector indicates a user cancels by returning
false
. However, for some requests, such as
TouchRequest and
EnrollFingerprint, the KeyCollector's
return value is ignored because it is an asynchronous call. In those
cases, the SDK will supply an implementation of this delegate that your
KeyCollector can call to notify the SDK that the user has canceled.