Mono Class Library: Overview

System.Environment: Property Members

The properties of System.Environment are listed below. For a list of all members, see the Environment Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
static
CommandLinestring. Gets the information entered on the command line when the current process was started.
static
CurrentDirectorystring. The full path of the current working directory of the process.
static
ExitCodeint (0). Gets or sets the exit code of a process.
[read-only]
static
HasShutdownStartedbool. Gets a value indicating whether an application has started to shut down.
[read-only]
static
MachineNamestring. ReadOnly property for getting the machine name of the computer.
[read-only]
static
NewLinestring. Gets the newline string for the current platform.
[read-only]
static
OSVersionOperatingSystem. Returns a OperatingSystem object that contains details about the current execution platform.
[read-only]
static
ProcessorCountint. Documentation for this section has not yet been entered.
[read-only]
static
StackTracestring. Returns a string representation of the state of the call stack.
[read-only]
static
SystemDirectorystring. Returns the 'System' directory for the Operating System.
[read-only]
static
TickCountint (496190500). Gets the number of milliseconds elapsed since the system was started.
[read-only]
static
UserDomainNamestring. Returns the domain name of the currently user.
[read-only]
static
UserInteractivebool. Documentation for this section has not yet been entered.
[read-only]
static
UserNamestring. Returns the user name the current process is running under.
[read-only]
static
VersionVersion. Gets the current version of the execution engine.
[read-only]
static
WorkingSetlong. Documentation for this section has not yet been entered.