The members of System.Environment are listed below.
See Also: Inherited members from System.Object
Public Properties
[read-only] static | CommandLine | string. Gets the information entered on the command line when the current process was
started. |
static | CurrentDirectory | string. The full path of the current working directory of the process. |
static | ExitCode | int (0). Gets or sets the exit code of a process. |
[read-only] static | HasShutdownStarted | bool. Gets a value indicating whether an application has started to shut down. |
[read-only] static | MachineName | string. ReadOnly property for getting the machine name of the computer. |
[read-only] static | NewLine | string. Gets the newline string for the current platform. |
[read-only] static | OSVersion | OperatingSystem. Returns a OperatingSystem object that contains details about the current execution platform. |
[read-only] static | ProcessorCount | int. Documentation for this section has not yet been entered. |
[read-only] static | StackTrace | string. Returns a string representation of the state of the call stack. |
[read-only] static | SystemDirectory | string. Returns the 'System' directory for the Operating System. |
[read-only] static | TickCount | int (496190500). Gets the number of milliseconds elapsed since the system was
started. |
[read-only] static | UserDomainName | string. Returns the domain name of the currently user. |
[read-only] static | UserInteractive | bool. Documentation for this section has not yet been entered. |
[read-only] static | UserName | string. Returns the user name the current process is running under. |
[read-only] static | Version | Version. Gets the current version of
the execution engine. |
[read-only] static | WorkingSet | long. Documentation for this section has not yet been entered. |
Public Methods