Application: VersionChecking
Revit Platform: All
Revit Version: 2010.0
First Released For: 9.0
Last Modified: 02/26/2008
Modified By: JY Autodesk
Programming Language: C#
Skill Level: Beginning
Category: Parameters, Basics
Type: ExternalCommand

Subject: Version information of Revit application.
Summary: 
 This sample demonstrates how to get Revit version information: product name, product version and product build number.

Classes: 
Autodesk.Revit.IExternalCommand 
Autodesk.Revit.Application

Project Files: 
VersionChecking.cs
This file contains the class Command that inherits from IExternalCommand interface and implements the Execute method. Besides, the class implements all functionalities of getting relevant product information.

Description: 
-	This sample adds a command named “About Revit” to display the product name, version and build number of the Revit main program in a dialog.
-	The product name can be accessed through Application.VersionName property.
-	The product version can be accessed through Application.VersionNumber property.
-	The build number can be accessed through Application.VersionBuild property.

Instructions: 
1.	No context to execute this sample, please directly run this command.
2.	Expected result: invoke this command a dialog will present with the product name, version and build number.