Difference between revisions of "NET:InnerSpaceAPI.InnerSpace.BuildNumber"
Jump to navigation
Jump to search
m (NET:InnerSpaceAPI.InnerSpace.GetBuildNumber moved to NET:InnerSpaceAPI.InnerSpace.BuildNumber) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
=== Fully Qualified Name === | === Fully Qualified Name === | ||
− | ; InnerSpaceAPI.InnerSpace. | + | ; 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]] | ||
− | *** | + | *** BuildNumber property |
== Declaration == | == Declaration == | ||
− | static public uint | + | static public uint BuildNumber; |
=== Parameters === | === Parameters === | ||
Line 25: | Line 25: | ||
public static void Main() | public static void Main() | ||
{ | { | ||
− | uint BuildNumber = InnerSpace. | + | 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
Contents
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
Fully Qualified Name
- InnerSpaceAPI.InnerSpace.BuildNumber
- InnerSpace namespace
- InnerSpace class
- BuildNumber property
- InnerSpace class
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; } }