Returns the version of the Quanser HIL API that is installed.

Namespace:  Quanser.Hardware
Assembly:  Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetVersion As Version
C#
public static Version GetVersion()
Visual C++
public:
static Version^ GetVersion()
JavaScript
Quanser.Hardware.Hil.getVersion = function();

Examples

This sample illustrates how to use the Version method.
C# Copy Code
Console.WriteLine("HIL API Version: " + Hil.GetVersion());
Visual Basic Copy Code
Console.WriteLine("HIL API Version: " & Hil.GetVersion().ToString())
Visual C++ Copy Code
Console::WriteLine(L"HIL API Version: " + Hil::GetVersion());

See Also