Environment « Development « VB.Net

1.Environment Class provides information about current environment and platform
2.Sample for Environment class summary
3.Get Environment variables
4.Environment.CurrentDirectory Property gets or sets the fully qualified path of the current working directory.
5.Environment.Exit Method terminates this process and gives the underlying operating system the specified exit code.
6.Environment.ExitCode Property gets or sets the exit code of the process.
7.Environment.ExpandEnvironmentVariables Method replaces the name of each environment variable embedded in string
8.Environment.FailFast immediately terminates a process after writing a message to the Windows Application event log
9.Environment.GetCommandLineArgs returns a string array containing the command-line arguments for the current process.

10.Environment.GetEnvironmentVariables Method retrieves all environment variable names and their values
11.Environment.GetFolderPath (Environment.SpecialFolder)
12.Environment.GetLogicalDrives returns the logical drives on the current computer.
13.Environment.MachineName Property gets the NetBIOS name of this local computer.
14.Environment.NewLine Property gets the newline string defined for this environment.
15.Environment.OSVersion Property gets platform identifier and version number.
16.Environment.ProcessorCount Property gets the number of processors on the current machine.
17.Environment.StackTrace Property gets current stack trace information.
18.Environment.SystemDirectory Property gets the fully qualified path of the system directory.
19.Environment.TickCount Property gets the number of milliseconds elapsed since the system started.
20.Environment.UserDomainName Property gets the network domain name associated with the current user.
21.Environment.UserInteractive Property tells whether the current process is running in user interactive mode.
22.Environment.UserName Property gets the user name of the person who is currently logged on to the Windows operating system.
23.Environment.Version Property describes the major, minor, build, and revision numbers of the common language runtime.
24.Environment.WorkingSet Property gets the amount of physical memory mapped to the process context.
25.Get the common language runtime version.