Returns the serial number of the Hardkey.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
GetHardKeySN | System Info | Synchronous | Supported | Not supported | Executed on Server |
This function takes no parameters.
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.
You must attach the Hardkey before executing this function, or the function will not execute properly.
Tag Name | Expression |
---|---|
Tag | GetHardkeySN() // Returned value = 120.745 |
Tag | GetHardkeySN() // Returned value = 224.941 |