Environment Properties

The Environment type exposes the following members.

  NameDescription
Public property Static member CurrentDirectory Gets the fully qualified path of the current working directory.
Public property Static member CurrentManagedThreadId Gets a unique identifier for the current managed thread.
Public property Static member HasShutdownStarted Gets a value indicating whether the common language runtime is shutting down or the current application domain is unloading.
Public property Static member NewLine Gets the newline string defined for this environment.
Public property Static member OSVersion Gets an OperatingSystem object that contains the current platform identifier and version number.
Public property Static member ProcessorCount Gets the number of processors on the current machine.
Public property Static member TickCount Gets the number of milliseconds elapsed since the system started.
Public property Static member Version Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
Top

Show:
© 2015 Microsoft