NET:InnerSpaceAPI.InnerSpace.BuildNumber

From Lavish Software Wiki
Jump to: navigation, search

Overview

Retrieves the Inner Space build number. This function can be used to determine if the application is executed by Inner Space, as it returns 0 if not.

Reference Library

Lavish.InnerSpace.dll

Fully Qualified Name

InnerSpaceAPI.InnerSpace.BuildNumber

Declaration

static public uint BuildNumber;

Parameters

None

Return Value

  • uint
The Inner Space build number. 0 if the application is not run through Inner Space.

Examples

C#

public static void Main()
{
    uint BuildNumber = InnerSpace.BuildNumber;
    if (BuildNumber == 0)
    {
        Console.WriteLine("This program must be run in Inner Space.");
        return;
    }   
}

See Also