Difference between revisions of "NET:InnerSpaceAPI.InnerSpace.BuildNumber"

From Lavish Software Wiki
Jump to navigation Jump to search
m (NET:InnerSpaceAPI.InnerSpace.GetBuildNumber moved to NET:InnerSpaceAPI.InnerSpace.BuildNumber)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
=== Fully Qualified Name ===
 
=== Fully Qualified Name ===
; InnerSpaceAPI.InnerSpace.GetBuildNumber
+
; InnerSpaceAPI.InnerSpace.BuildNumber
 
*[[NET:Lavish.InnerSpace.dll#InnerSpaceAPI_namespace|InnerSpace namespace]]
 
*[[NET:Lavish.InnerSpace.dll#InnerSpaceAPI_namespace|InnerSpace namespace]]
 
** [[NET:Lavish.InnerSpace.dll#InnerSpace|InnerSpace class]]
 
** [[NET:Lavish.InnerSpace.dll#InnerSpace|InnerSpace class]]
*** GetBuildNumber function
+
*** BuildNumber property
  
 
== Declaration ==
 
== Declaration ==
Line 25: Line 25:
 
  public static void Main()
 
  public static void Main()
 
  {
 
  {
     uint BuildNumber = InnerSpace.GetBuildNumber();
+
     uint BuildNumber = InnerSpace.BuildNumber;
 
     if (BuildNumber == 0)
 
     if (BuildNumber == 0)
 
     {
 
     {
Line 32: Line 32:
 
     }   
 
     }   
 
  }
 
  }
 
  
 
== See Also ==
 
== See Also ==
 
* [[IS:.NET|Inner Space .NET]]
 
* [[IS:.NET|Inner Space .NET]]
 
* [[NET:Lavish.InnerSpace.dll|Lavish.InnerSpace.dll]]
 
* [[NET:Lavish.InnerSpace.dll|Lavish.InnerSpace.dll]]

Latest revision as of 17:39, 25 September 2008

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