wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Utility/GetKernelVerStr

GetKernelVerStr

Gets the OS (kernel) version

string GetKernelVerStr();

Parameters

Function does not accept any parameters.

Return Value

Returns string representation of the full OS version such as 2.6.17.7-2010.08.04

Remarks

Examples

string str = GetKernelVerStr();
DisplayText(0, 0, str);
string ver = GetKernelVerStr();
if(ver >= "2.6.26")
{
   DisplayText(0, 0, "New OS");
}
else
{
   DisplayText(0, 0, "Old OS");
}

See Also

Last modified 7 years ago Last modified on 04/12/18 13:12:49
Note: See TracWiki for help on using the wiki.