Package com.wibu.cm

Class CodeMeter.CMSYSTEM

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMSYSTEM
    extends java.lang.Object

    CMSYSTEM stores system specific data.

    Definition for the class CMSYSTEM corresponding to the c-api struct CMSYSTEM

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.StringBuffer computerName
      contains the name of the local computer.
      long idPlatform
      contains the Platform ID of the OS, the version of the Windows OS and the byte order of the system.
      java.lang.StringBuffer ipAddress
      contains the IP-Address of the local computer.
      long systemKernelVersion
      contains the kernel version of the local OS.
    • Constructor Summary

      Constructors 
      Constructor Description
      CMSYSTEM()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • idPlatform

        public long idPlatform
        contains the Platform ID of the OS, the version of the Windows OS and the byte order of the system. To gather the Windows version this parameter must be or'ed with CM_SYSTEM_VERSION_MASK.
        • CM_SYSTEM_W95 specifies that the local OS is Windows 95.
        • CM_SYSTEM_W98 specifies that the local OS is Windows 98.
        • CM_SYSTEM_WME specifies that the local OS is Windows Me.
        • CM_SYSTEM_NT4 specifies that the local OS is Windows NT 4.0.
        • CM_SYSTEM_W2K specifies that the local OS is Windows 2000.
        • CM_SYSTEM_WXP specifies that the local OS is Windows XP.
        • CM_SYSTEM_W2003 specifies that the local OS is Windows 2003 Server.
        • CM_SYSTEM_VISTA specifies that the local OS is Windows Vista.
        • CM_SYSTEM_W2008 specifies that the local OS is Windows 2008 Server
        • CM_SYSTEM_MACOSX specifies that the local OS is Max OS X.
        • CM_SYSTEM_SOLARIS specifies that the local OS is Sun Solaris.
        • CM_SYSTEM_WIN_CE specifies that the local OS is Windows CE.
        • CM_SYSTEM_LINUX specifies that the local OS is (i386) Linux.
        To gather the Platform ID this parameter must be or'ed with CM_SYSTEM_PLATFORM_MASK. The Platform ID is one of the following flags:
        • CM_SYSTEM_MACOSX specifies that the OS is Max OS X.
        • CM_SYSTEM_LINUX specifies that the OS is Linux.
        • CM_SYSTEM_SOLARIS specifies that the OS is Solaris.
        • CM_SYSTEM_WIN_CE specifies that the OS is Windows CE.
        • CM_SYSTEM_WINDOWS specifies that the OS is Windows.
        To gather the byte order this parameter must be or'ed with CM_SYSTEM_ENDIAN_ORDER_MASK. The byte order is one of the following flags:
        • CM_SYSTEM_LITTLE_ENDIAN specifies that the system uses little endian byte order.
        • CM_SYSTEM_BIG_ENDIAN specifies that the system uses big endian byte order.
      • systemKernelVersion

        public long systemKernelVersion
        contains the kernel version of the local OS.
      • ipAddress

        public java.lang.StringBuffer ipAddress
        contains the IP-Address of the local computer.
      • computerName

        public java.lang.StringBuffer computerName
        contains the name of the local computer.
    • Constructor Detail

      • CMSYSTEM

        public CMSYSTEM()