Environment Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Environment type exposes the following members.
| Name | Description | |
|---|---|---|
|
CurrentDirectory | Gets the fully qualified path of the current working directory. |
|
CurrentManagedThreadId | Gets a unique identifier for the current managed thread. |
|
HasShutdownStarted | Gets a value indicating whether the common language runtime is shutting down or the current application domain is unloading. |
|
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. |
|
TickCount | Gets the number of milliseconds elapsed since the system started. |
|
Version | Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime. |
Show: