System.Environment Object

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

Members

The System.Environment object defines the following members:

Methods

The System.Environment object defines the following method.

MethodDescription
getEnvironmentVariable

Retrieves the value of a system or user environment variable.

 

Properties

The System.Environment object defines the following property.

PropertyAccess typeDescription

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 clientWindows Vista
Minimum supported serverWindows Server 2008
IDLSidebar.idl
DLLSidebar.Exe version 1.00 or later

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK

Community Additions

Show: