The members of System.Environment are listed below.
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.
staticExit(int) Terminates the current process and sets the process exit code to the specified value. staticExpandEnvironmentVariables(string) : string Expands all the environment variable references in the given string with the value of the environment variable. staticFailFast(string) Documentation for this section has not yet been entered. staticGetCommandLineArgs() : string[] Returns the arguments specified on the command line. staticGetEnvironmentVariable(string) : string Returns the value of the specified environment variable. staticGetEnvironmentVariable(string, EnvironmentVariableTarget) : string Documentation for this section has not yet been entered. staticGetEnvironmentVariables() : IDictionary Returns all environment variables and their current settings. staticGetEnvironmentVariables(EnvironmentVariableTarget) : IDictionary Documentation for this section has not yet been entered. staticGetFolderPath(Environment.SpecialFolder) : string Returns the path on the file system corresponding to the special folder. staticGetLogicalDrives() : string[] Documentation for this section has not yet been entered. staticSetEnvironmentVariable(string, string) Documentation for this section has not yet been entered. staticSetEnvironmentVariable(string, string, EnvironmentVariableTarget) Documentation for this section has not yet been entered.