SystemFunctions Property (Agent)

Class

Agent.

Action

Gets the SystemFunctions object, which allows you to perform operating-system-specific operations, both on the local machine and on remote machines on which the Open Agent is installed. For information on the available system functions, see the topic SystemFunctions Class.

Syntax

C#
public static SystemFunctions SystemFunctions {
  get { return CurrentAgent.SystemFunctions; }
}
VB
'Declaration
Public Read Property SystemFunctions As SystemFunctions

Access

Read only.

Example

For example, to start Notepad on the remote machine, you could add the following code into the script:
// C# code
Agent.SystemFunctions.Execute("notepad.exe");
Agent.SystemFunctions.Execute("notepad.exe")