GetHardKeySN
- Last UpdatedOct 29, 2026
- 1 minute read
Returns the serial number of the Hardkey.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetHardKeySN |
System Info |
Synchronous |
Yes |
Supported |
Not supported |
Not supported |
Supported |
Executed on Server |
Syntax
GetHardkeySN ( )
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 |