Export (0) Print
Expand All

Environment Properties

  Name Description
Public property Static CommandLine Gets the command line for this process.
Public property Static CurrentDirectory Gets or sets the fully qualified path of the current working directory.
Public property Static ExitCode Gets or sets the exit code of the process.
Public property Static HasShutdownStarted Gets a value indicating whether the common language runtime is shutting down or the current application domain is unloading.
Public property Static MachineName Gets the NetBIOS name of this local computer.
Public property Static NewLine Gets the newline string defined for this environment.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework OSVersion Gets an OperatingSystem object that contains the current platform identifier and version number.
Public property Static Supported by the XNA Framework ProcessorCount Gets the number of processors on the current machine.
Public property Static StackTrace Gets current stack trace information.
Public property Static SystemDirectory Gets the fully qualified path of the system directory.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework TickCount Gets the number of milliseconds elapsed since the system started.
Public property Static UserDomainName Gets the network domain name associated with the current user.
Public property Static UserInteractive Gets a value indicating whether the current process is running in user interactive mode.
Public property Static UserName Gets the user name of the person who is currently logged on to the Windows operating system.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Version Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
Public property Static WorkingSet Gets the amount of physical memory mapped to the process context.
Top

Community Additions

ADD
Show:
© 2014 Microsoft