Installing the CodeLogic Windows .NET Agent

The agents send metadata to the CodeLogic Server, they are installed on the servers upon which the applications or databases are running. The applications and databases to be scanned are specified in the agent configuration files.


You must have .NET 6.0 installed.

  1. Download the Windows .NET Agent

    1. From a web browser on your system, log in to the CodeLogic Server.

    2. Click Admin and then select the Installers tab.

    3. Click Download on Windows .NET Agent to download the Windows installer package.

      Graphical user interface, text, application

Description automatically generated

  2. Run the Installer

    1. Double-click the downloaded netcape-installer.exe icon to begin installation.

    2. Enter the IP address or host name of the CodeLogic Server.

    3. Optionally, enter a descriptive name for the agent.


      The descriptive name is populated with the default agent name. If a descriptive name is not entered, the default name will be used.

    4. Click Next.

    5. To accept the default installation path, click Next or click Change... to change the install location.

    6. Complete the installation.

  3. Execute or Start the Agent

    The CodeLogic.NET Agent can be executed through a Command-Line Interface (CLI) or started through the Graphical User Interface (GUI).

    Follow step a for CLI or step b for GUI.

    1. Change directory to the C:\Program Files (x86)\CodeLogic\NetCapeService\PortableExe directory and run the agent from the command line.


      cd “C:\Program Files (x86)\CodeLogic\NetCape”
      NetCapeAgent “path_to_scan”

      Replace “path_to_scan” with the path to the .NET application to be analyzed.

      A lot of output will be printed. The window can be minimized. When decomposing, all available CPUs will be used.

    2. Verify the NetCape service is running through the Windows Services Manager.

      Windows Services Manager > NetCape

  4. Authorize the Agent

    For security, agents must be authorized before they will send metadata to the CodeLogic Server.

    1. From a web browser on your system, log in to the CodeLogic Server.

    2. Click Admin and then select the Agents tab.

    3. Locate the agent in the list.


      The Request Status will be listed as OPEN.

    4. Click the more menu icon in the Actions column and select Approve/Reject.

      The Approve window opens.

    5. Optionally, enter a name for the agent in the Agent Name field.

    6. Click Approve to complete the authorization process.

Next Steps   To run a scan immediately, see Binary Scanning via Command Line (.NET). To configure scanning, and set up a scanning schedule, see Configuring the CodeLogic Windows .NET Agent.