GetHardKeySN
Returns the serial number of the Hardkey.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
GetHardKeySN | System Info | Synchronous | Supported | Not supported | Supported | Supported |
Syntax

This function takes no parameters.
Returned value
If the Hardkey is installed, then the function returns a string with the Hardkey serial number.
If the Hardkey is not installed, then the function returns 0.
Notes
You must attach the Hardkey before executing this function, or the function will not execute properly.
Examples
Tag Name | Expression |
---|---|
Tag | GetHardkeySN() // Returned value = 120.745 |
Tag | GetHardkeySN() // Returned value = 224.941 |