Skip to main content

WEBfactory 2010

WEBfactory 2010 WCF UtilityService Documentation

Abstract

This article provides all the needed information to learn and understand the WCF UtilityService documentation.

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