Click or drag to resize
Pdftools logo

DeviceListGetSingle Method

Get the single device


Namespace: PdfTools.Crypto.Providers.Pkcs11
Assembly: PdfTools (in PdfTools.dll) Version: 1.20.0+32c3b3a21152d09e640f60dd999580d661b73c71
Syntax
C#
public Device GetSingle()

Return Value

Device
Exceptions
ExceptionCondition
NotFoundExceptionNo device was found. Make sure the device is connected and the right PKCS#11 modules has been loaded.
NotSupportedExceptionMore than one device available. Choose the right one from the device list, e.g. by looking at Description or its Certificates.
See Also