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.4.0+fc8bb87ea2616e7f35d94e0588d333abae862a7a
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