/
GetDeviceClock
GetDeviceClock
Declaration
Delphi
function GetDeviceClock(var Time: TSystemTime): Boolean;
C/C++
SOPAD_API BOOL SOPAD_GetDeviceClock(LPSYSTEMTIME pTime);
ActiveX
HRESULT GetDeviceClock([out] DATE* DateTime, [out, retval] VARIANT_BOOL* Result);
Description
Some signature devices has built-in real-time clock. This function queries clock value from device.
Arguments
Time, DateTime
Output parameter. Clock value received from device.
Return value
Function returns true if clock value has been successfully received, false if clock value hasn't been received or signature device has no clock.
Sample
C#
// Read DeviceTime (not all SignaturePads have an internal clock) DateTime deviceTime; SigDev.GetDeviceClock(out deviceTime);
, multiple selections available,
Related content
SetDeviceClock
SetDeviceClock
More like this
GetDeviceStatusNew
GetDeviceStatusNew
More like this
GetDevicePublicKey
GetDevicePublicKey
More like this
GetDeviceSN
GetDeviceSN
More like this
GetDeviceCertificate
GetDeviceCertificate
More like this
GetOEMType
GetOEMType
More like this