A read-only property that returns a string containing the Microsoft Office InfoPath 2003 version number.
expression.Version
expression Required. An expression that returns a reference to the Application object.
0: Can be accessed without restrictions.
The version number of the application does not contain the name. To obtain the name of an application, use the Name property of the Application object.
To obtain the version number of a form template, use the Version property of the Solution object.
In the following example, the Version property of the Application object is used to display the application's version number in a message box:
XDocument.UI.Alert("Application version: " + Application.Version);