ClearImage .NET API
VerMajor Property (CiServer)
Example 





Inlite.ClearImage Namespace > CiServer Class : VerMajor Property
Major version number
Syntax
'Declaration
 
Public ReadOnly Property VerMajor As System.Integer
'Usage
 
Dim instance As CiServer
Dim value As System.Integer
 
value = instance.VerMajor
public System.int VerMajor {get;}
public read-only property VerMajor: System.Integer; 
public function get VerMajor : System.int
public:
property System.int VerMajor {
   System.int get();
}
Example
void ListClearImageServerInfo()
{
    CiServer ci = Inlite.ClearImageNet.Server.GetThreadServer();
    Console.Write("ClearImage Version= " + ci.VerMajor + "." + ci.VerMinor + "." + ci.VerRelease + Environment.NewLine);
    Console.Write("Licensed Modules: " + Environment.NewLine + ci.get_Info(EInfoType.ciModulesList, 0));
}
Sub ListClearImageServerInfo()
    Dim ci As CiServer = Inlite.ClearImageNet.Server.GetThreadServer()
    Console.Write("ClearImage Version= " + ci.VerMajor + "." + ci.VerMinor + "." + ci.VerRelease + Environment.NewLine)
    Console.Write("Licensed Modules: " + Environment.NewLine + ci.get_Info(EInfoType.ciModulesList, 0))
End Sub
See Also

Reference

CiServer Class
CiServer Members