Export (0) Print
Expand All

Environment Properties

The Environment type exposes the following members.

  Name Description
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 CurrentDirectory When called by trusted applications, gets the fully qualified path of the current working directory.
Public property Static member ExitCode Gets or sets the exit code of the process.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 HasShutdownStarted Gets a value indicating whether the common language runtime is shutting down or the current application domain is unloading.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 NewLine Gets the newline string defined for this environment.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 OSVersion Gets an OperatingSystem object that contains the current platform identifier and version number.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ProcessorCount Gets the number of processors on the current machine.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 TickCount Gets the number of milliseconds elapsed since the system started.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Version Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
Top

Community Additions

ADD
Show:
© 2014 Microsoft