Skip to main content
Skip table of contents

InterfaceVersion

Purpose

Returns the current version of HomeSeer Plug-In API Interface.  This procedure is called by plug-ins to determine the capability level of the interface it is working with.


Parameters

None


Returns

Return value: version
Type: integer (.NET Short)
Description: For HS2, the returned value is 3, and for HS3, the returned value is 4.


Example

Sample Code

VB
Sub Main(ByVal Parm As Object)

     hs.WriteLog("Info","The API interface version of HomeSeer is " & hs.InterfaceVersion.ToString)

End Sub


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.