Description | Example | Return Message | Group

GetConVersion

Return the Connect version number for the current Connect session

Syntax

GetConVersion <ApplicationPath>

Description

The GetConVersion command returns a message that identifies the current version of Connect being used. If a SetConVersion command wasn't sent through the connection, the returned value is the application default version.

Note: You can change the current Connect version for the connection using the SetConVersion command. The Connect API automatically commands the latest Connect version by default when AgConOpenStk is called. If desired, you can command a different version or override the Connect API default version in the Connect API run control file.

Example

To identify the current Connect version:

GetConVersion /

ReturnMessage

Connect returns a message that contains the current Connect version number, as illustrated in the following example:
ACK
GETCONVERSION 7
CONv2.0

Group Membership

This command belongs to the following group(s):

Application Options

Version

4.0.2

STK Programming Interface 11.0.1