System.Environment object

[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. ]

Defines the properties and methods for determining system and user environment variables.

Members

The System.Environment object has these types of members:

Methods

The System.Environment object has these methods.

Method Description
getEnvironmentVariable Retrieves the value of a system or user environment variable.

Properties

The System.Environment object has these properties.

Property Access type Description
machineName
Read-only
Gets the name of the local computer.

Remarks

System environment variables define the behavior of the global operating system environment. Local environment variables define the behavior of the environment of the current user session.

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)