Environment Properties
.NET Framework 2.0
| Name | Description | |
|---|---|---|
| CommandLine | Gets the command line for this process. |
| CurrentDirectory | Gets or sets the fully qualified path of the current directory; that is, the directory from which this process starts. |
| ExitCode | Gets or sets the exit code of the process. |
| HasShutdownStarted | Gets a value indicating whether the common language runtime is shutting down or the current application domain is unloading. |
| MachineName | Gets the NetBIOS name of this local computer. |
| NewLine | Gets the newline string defined for this environment. |
| OSVersion | Gets an OperatingSystem object that contains the current platform identifier and version number. |
| ProcessorCount | Gets the number of processors on the current machine. |
| StackTrace | Gets current stack trace information. |
| SystemDirectory | Gets the fully qualified path of the system directory. |
| TickCount | Gets the number of milliseconds elapsed since the system started. |
| UserDomainName | Gets the network domain name associated with the current user. |
| UserInteractive | Gets a value indicating whether the current process is running in user interactive mode. |
| UserName | Gets the user name of the person who started the current thread. |
| Version | Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime. |
| WorkingSet | Gets the amount of physical memory mapped to the process context. |