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
[read-only] staticCommandLine string. Gets the information entered on the command line when the current process was started. staticCurrentDirectory string. The full path of the current working directory of the process. staticExitCode int (0). Gets or sets the exit code of a process. [read-only] staticHasShutdownStarted bool. Gets a value indicating whether an application has started to shut down. [read-only] staticMachineName string. ReadOnly property for getting the machine name of the computer. [read-only] staticNewLine string. Gets the newline string for the current platform. [read-only] staticOSVersion OperatingSystem. Returns a OperatingSystem object that contains details about the current execution platform. [read-only] staticProcessorCount int. Documentation for this section has not yet been entered. [read-only] staticStackTrace string. Returns a string representation of the state of the call stack. [read-only] staticSystemDirectory string. Returns the 'System' directory for the Operating System. [read-only] staticTickCount int (496190500). Gets the number of milliseconds elapsed since the system was started. [read-only] staticUserDomainName string. Returns the domain name of the currently user. [read-only] staticUserInteractive bool. Documentation for this section has not yet been entered. [read-only] staticUserName string. Returns the user name the current process is running under. [read-only] staticVersion Version. Gets the current version of the execution engine. [read-only] staticWorkingSet long. Documentation for this section has not yet been entered.