GetDeviceSN
Declaration
Delphi
function GetDeviceSN(var Serial: ShortString): Boolean;
ActiveX
HRESULT GetDeviceSN([out] BSTR* SerialNumber, [out, retval] VARIANT_BOOL* Result);
Description
Function returns serial number for those devices which have it. The same value can be obtained with the call to GetDriverString(1).
Arguments
SerialNumber
Output parameter. Serial number of configured signature device.
Return value
Function returns true if serial number has been written to SerialNumber, false if the device has no serial number or there were errors while getting it.