| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > Code Templates >====== GetOSVersion code template ====== | [[getfulldragsetting code template.htm|{{btn_prev_n.gif|Previous page}}]][[templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[tplcodeimportfromxml.htm|{{btn_next_n.gif|Next page}}]] | | || This code template provides an easy way to detect the operating system where your application is running by using the new [[prop windowsversion.htm|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} |