The settings used to execute the agent can be accessed using the AgentSettings property.


When the plugin's properties are configured to run before agent scan, changes made to the agent settings are then applied and used by the agent, if the plugin is configured to run after agent scan, changes to the agent settings have no effect.