[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Provides information about, and means to manipulate, the current environment and platform. This class cannot be inherited. [Property] @CurrentDirectory=Sets the fully qualified path of the current working directory. ARG(string)|2| @ExitCode=Sets the exit code of the process. ARG(int)|1|0 [Methods] doExit=Terminates this process and gives the underlying operating system the specified exit code. ARG(int exitcode)|1|0 *doExpandEnvironmentVariables=Replaces the name of each environment variable embedded in the specified string with the string equivalent of the value of the variable, then returns the resulting string. ARG(string name)|1|0 *doFailFast=Immediately terminates a process after writing a message to the Windows Application event log, and then includes the message in error reporting to Microsoft. ARG(string message)|1|0 *doFailFast2=Immediately terminates a process after writing a message to the Windows Application event log, and then includes the message and exception information in error reporting to Microsoft. ARG(string message, Exception exception)|1|0 *doGetEnvironmentVariable=Retrieves the value of an environment variable from the current process. ARG(string variable)|1|0 *doGetEnvironmentVariable2=Retrieves the value of an environment variable from the current process or from the Windows operating system registry key for the current user or local machine. ARG(string variable, EnvironmentVariableTarget target)|1|0 *doGetEnvironmentVariables2=Retrieves all environment variable names and their values from the current process, or from the Windows operating system registry key for the current user or local machine. ARG(EnvironmentVariableTarget target)|1|0 *doGetFolderPath=Gets the path to the system special folder that is identified by the specified enumeration. ARG(Environment.SpecialFolder folder)|1|0 *doGetFolderPath2=Gets the path to the system special folder that is identified by the specified enumeration, and uses a specified option for accessing special folders. ARG(Environment.SpecialFolder folder, Environment.SpecialFolderOption option)|1|0 *doSetEnvironmentVariable=Creates, modifies, or deletes an environment variable stored in the current process. ARG(string variable, string value)|1|0 *doSetEnvironmentVariable2=Creates, modifies, or deletes an environment variable stored in the current process or in the Windows operating system registry key reserved for the current user or local machine. ARG(string variable, string value, EnvironmentVariableTarget target)|1|0 *onExpandEnvironmentVariables=Occurs after invoke the method doExpandEnvironmentVariables and returns the result. ARG(string)|2|2 *onGetEnvironmentVariable=Occurs after invoke the method doGetEnvironmentVariable and returns the result. ARG(string)|2|2 *onGetEnvironmentVariables=Occurs after invoke the method doGetEnvironmentVariables and returns the result. ARG(IDictionary)|2|0 *onGetFolderPath=Occurs after invoke the method doGetFolderPath and returns the result. ARG(string)|2|2 *CommandLine=Returns the command line for this process. ARG(string)|3|2 *CurrentDirectory=Returns the fully qualified path of the current working directory. ARG(string)|3|2 *GetCommandLineArgs=Returns a string array containing the command-line arguments for the current process. ARG(string[])|3|13 *GetEnvironmentVariables=Retrieves all environment variable names and their values from the current process. ARG(IDictionary)|3|0 *GetLogicalDrives=Returns an array of string containing the names of the logical drives on the current computer. ARG(string[])|3|13 *HasShutdownStarted=Returns a value indicating whether the common language runtime is shutting down. ARG(bool)|3|104 *Is64BitOperatingSystem=Determines whether the current operating system is a 64-bit operating system. ARG(bool)|3|104 *Is64BitProcess=Determines whether the current process is a 64-bit process. ARG(bool)|3|104 *MachineName=Returns the NetBIOS name of this local computer. ARG(string)|3|2 *NewLine=Returns the newline string defined for this environment. ARG(string)|3|2 *OSVersion=Returns an OperatingSystem object that contains the current platform identifier and version number. ARG(OperatingSystem)|3|0 *ProcessorCount=Returns the number of processors on the current machine. ARG(int)|3|1 *StackTrace=Returns current stack trace information. ARG(string)|3|2 *SystemDirectory=Returns the fully qualified path of the system directory. ARG(string)|3|2 *SystemPageSize=Returns the amount of memory for an operating system's page file. ARG(int)|3|1 *TickCount=Returns the number of milliseconds elapsed since the system started. ARG(int)|3|1 *UserDomainName=Returns the network domain name associated with the current user. ARG(string)|3|2 *UserInteractive=Returns a value indicating whether the current process is running in user interactive mode. ARG(bool)|3|104 *UserName=Returns the user name of the person who is currently logged on to the Windows operating system. ARG(string)|3|2 *Version=Returns a Version object that describes the major, minor, build, and revision numbers of the common language runtime. ARG(Version)|3|0 *WorkingSet=Returns the amount of physical memory mapped to the process context. ARG(long)|3|105 Environment=Returns the Environment object. ARG(Environment)|3|0 *exception=Defines an exception that represents the error that caused the termination. This is typically the exception in a catch block. ARG(Exception)|4|0 ExitCode=Defines an Exit code to be given to the operating system. ARG(int)|4|1 *folder=Defines an enumerated constant that identifies a system special folder. ARG(Environment.SpecialFolder)|4|0 *message=Defines a message that explains why the process was terminated, or nullnull if no explanation is provided. ARG(string)|4|2 *name=Defines a string containing the names of zero or more environment variables. Each environment variable is quoted with the percent sign character (%). ARG(string)|4|2 *option=Defines specifies options to use for accessing a special folder. ARG(Environment.SpecialFolderOption)|4|0 *target=Defines one of the EnvironmentVariableTarget values. ARG(EnvironmentVariableTarget)|4|0 *value=Defines a value to assign to variable. ARG(string)|4|2 *variable=Defines the name of the environment variable. ARG(string)|4|2