WinVersion Property
      
 

Description

Returns version of Windows currently running.


Property type

A String value.  


Syntax

object.WinVersion [= value]



The WinVersion Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodAppUpdate.
value A String value.

Remarks

This property returns version of Windows running on user's computer. It is obtained from GetVersionEx API, and provides following information separated by period:

MajoVersion.MinorVersion.PlatformID.BuildNumber.<ServicePack if any as text>

you can easily parse this string to determine how will your application update itself. For example, on Vista it may behave differently than on WinXP.

Detailed information about versions and their corresponding numbers can be found for OSVERSIONINFO structure.