Environment Properties
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CommandLine | Gets the command line for this process. |
![]() ![]() | CurrentDirectory | Gets or sets the fully qualified path of the current working directory. |
![]() ![]() | CurrentManagedThreadId | Gets a unique identifier for the current managed thread. |
![]() ![]() | ExitCode | Gets or sets the exit code of the process. |
![]() ![]() | HasShutdownStarted | Gets a value that indicates whether the current application domain is being unloaded or the common language runtime (CLR) is shutting down. |
![]() ![]() | Is64BitOperatingSystem | Determines whether the current operating system is a 64-bit operating system. |
![]() ![]() | Is64BitProcess | Determines whether the current process is a 64-bit process. |
![]() ![]() | 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. |
![]() ![]() | SystemPageSize | Gets the number of bytes in the operating system's memory page. |
![]() ![]() | 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 is currently logged on to the Windows operating system. |
![]() ![]() | 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. |

