System.Gadget.platformVersion property

[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

Gets the Windows Sidebar version.

This property is read-only.

Syntax

strplatformVersion = System.Gadget.platformVersion

Property value

A String that receives the Sidebar version.

Remarks

Useful for determining if a particular feature or functionality is available.

Examples

The following example demonstrates how to get the platform version.

var mytext = "platform version: " + System.Gadget.platformVersion;

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008
IDL
Sidebar.idl
DLL
Sidebar.Exe (version 1.00 or later)

See also

System.Gadget