Skip to main content

Update the .NET Framework agent

Use either of these methods to update the .NET Framework agent:

  • Automatically update the agent

  • Use the Contrast API to download the agent and install with the command line

Before you begin

  • Confirm your .NET Framework application runs properly without the Contrast .NET Framework agent.

  • Previously successfully installed the Contrast .NET Framework agent.

  • Defined a policy for how and when to update the agent, based on your change management policy, workflow, and the environment where you deploy agents.

  • Have some familiarity with Windows scripting methods, including PowerShell.

Update the agent automatically

The agent automatically updates through the Agent upgrade service. Contrast supports and releases new versions of the agent, versions 20.5.1 and later. The agent does not auto-update if it detects an unsupported environment.

Use the Contrast API to download the agent

  1. Download the Contrast agent directly from the Contrast API. This step works for both hosted and on-premises instances of Contrast.

    You need an account (service or user) to access the API.

  2. Use the silent installer to install the agent with the command line, after downloading the agent.

    You can find your credentials by viewing your organization and personal keys.

See also