(Engine-Level Function)
| Description: | Returns the serial number of the copy of VTScada running. | 
| Returns: | Numeric | 
| Usage:  | Script or steady state. | 
| Function Groups: | Software and Hardware | 
| Related to: | CommandLine | Version | 
| Format:  | SerialNum() | 
| Parameters: | None | 
| Comments: | This function can be used to provide copy protection for user-developed modules by checking for a specific copy of VTScada before performing the desired task. | 
Example:
ZText(20, 20, Cond(SerialNum() != 2975, "Unauthorized serial number!", ""), 15, 0);
This displays a message if the serial number of VTScada is not 2975.
