Version: 2
restore

Contents

Method

CheckForUpdates

ModuleAgent
LibraryCore
Action

Check whether extensibility (module and provider) updates are available, and if so to download and install them.

Parameters(None)
Return values

Status (string): e.g. "Checking for updates"

OperatingSystem (string): e.g. "Windows" or "Linux"

Architecture (string): e.g. "x64"

Example
 Agent.CheckForUpdates();
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

I NomadContentDownloadEnabled is set to true in the Agent's configuration file, this method will attempt to use Nomad if it is running. However, because this method is downloading files, it requires Nomad v6.1.100 (because it supports downloading of directories and files). It cannot use v6.0.100 becausae it supports downloading of directories only. Prior versions of Nomad are not supported at all.

If Nomad is not available or fails then the Agent falls back to its internal HTTP provider.