Skip to main content

i4scada Knowledge Base

WCF Utility Service Documentation

Abstract

The WCF Utility Service handles the versioning related operations. This article describes all the available methods.

This WCF web service handles the versioning related operations. The following methods are available:

GetCurrentVersion

Syntax

GetCurrentVersion();

Description

Retrieves the current assembly and file versions as data transfer objects

Parameters

None

Return Value

The VersionsDTO object, containing:

  • Assembly (VersionDTO) - the VersionDTO data transfer object containing:

    • Major (int) - the major assembly version

    • Minor (int) - the minor assembly version

    • Build (int) - the assembly build number

    • Revision (int) - the assembly revision number

  • File (VersionDTO) - the VersionDTO data transfer object containing:

    • Major (int) - the major file version

    • Minor (int) - the minor file version

    • Build (int) - the file build number

    • Revision (int) - the file revision number

GetCurrentVersionString

Syntax

GetCurrentVersion();

Description

Retrieves the current assembly and file versions as a string

Parameters

None

Return Value

A string representing the current version