Environment Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Environment type exposes the following members.
Properties
Name | Description | |
---|---|---|
CurrentDirectory | When called by trusted applications, gets the fully qualified path of the current working directory. | |
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. | |
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. |
Top