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.0.0
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