OSVersion Property

       

Returns a value that identifies the version of the operating system under which the application is currently running. Not available at design time.

Syntax

object.OSVersion

The object placeholder represents an object expression that evaluates to an object in the Applies To list.