GetOSVersion code template

Top  Previous  Next

This code template provides an easy way to detect the operating system where your application is running by using the new PROP:WindowsVersion runtime property.


Target Variable

Press the ellipsis button to select a variable name that will store the value of the runtime property. This variable should be a STRING or CSTRING type.

Source Equivalence:

<Target Variable> = SYSTEM{PROP:WindowsVersion}