SmartFoxServer Silverlight API
GetVersion Method
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► GetVersion()()()
Get the SmartFoxServer Flash API version.
Declaration Syntax

C# | Visual Basic | Visual C++

    public string GetVersion()

    Public Function GetVersion As String

    public:
    String^ GetVersion()

Return Value
The current version of the SmartFoxServer client API.
Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to trace the SmartFoxServer API version.
CopyC#

    Debug.WriteLine("Current API version: " + smartFox.GetVersion());

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)