Package com.wibu.cm
Class CodeMeter.CMBOXSTATUS
- java.lang.Object
-
- com.wibu.cm.CodeMeter.CMBOXSTATUS
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMBOXSTATUS extends java.lang.ObjectCMBOXSTATUS is used only for cmGetInfo(CM_GEI_BOXSTATUS)
-
-
Field Summary
Fields Modifier and Type Field Description booleancmactActivateCodeCM_ACTSTATUS_ACTIVATE_CODEbooleancmactActivateFileCM_ACTSTATUS_ACTIVATE_FILEbooleancmactActiveCM_ACTSTATUS_ACTIVEbooleancmactBrokenCM_ACTSTATUS_BROKENbooleancmactFilespecifies that the CmContainer is a CodeMeterAct license filebooleancmactInvalidCM_ACTSTATUS_INVALIDbooleancmactLoadedspecifies that the CmContainer is a loaded CmAct licensebooleancmactProgrammableCM_ACTSTATUS_PROGRAMMABLEbooleancmactPsnRequiredCM_ACTSTATUS_PSN_REQUIREDbooleandisabledspecifies that the CmContainer is disabled.booleanenabledspecifies that the CmContainer is enabled.booleanhasFlashspecifies that the CmDongle contains an additional flash disc besides the CodeMeter chip.booleanisCmActCM_BOXSTATUS_ISCMACTbooleanlowMemoryspecifies that the CmDongle has too low memory to replace damaged memory during normal usage.booleanrealTimeClockUsedCM_BOXSTATUS_BATTERY_POWERED_CLOCK_USEDbooleanremoveablespecifies the configuration of the CmDongle.booleanreplugspecifies that the CmDongle has initiated a Plug Out/In event for itself to force the operating system to remount the flash drive.booleantempEnabledspecifies that the CmContainer is temporarily enabled.longvalueContains all above information or'ed using the CM_BOXSTATUS_ flags.
-
Constructor Summary
Constructors Constructor Description CMBOXSTATUS()
-
-
-
Field Detail
-
lowMemory
public boolean lowMemory
specifies that the CmDongle has too low memory to replace damaged memory during normal usage.
-
replug
public boolean replug
specifies that the CmDongle has initiated a Plug Out/In event for itself to force the operating system to remount the flash drive.
-
hasFlash
public boolean hasFlash
specifies that the CmDongle contains an additional flash disc besides the CodeMeter chip.
-
removeable
public boolean removeable
specifies the configuration of the CmDongle. This can be either be a fixed disk device or a removable disk device. The configuration of the CmDongle can be altered with CmConfigDisk on Windows.
-
tempEnabled
public boolean tempEnabled
specifies that the CmContainer is temporarily enabled.
-
enabled
public boolean enabled
specifies that the CmContainer is enabled.
-
disabled
public boolean disabled
specifies that the CmContainer is disabled.
-
isCmAct
public boolean isCmAct
CM_BOXSTATUS_ISCMACT
-
cmactFile
public boolean cmactFile
specifies that the CmContainer is a CodeMeterAct license file
-
cmactLoaded
public boolean cmactLoaded
specifies that the CmContainer is a loaded CmAct license
-
cmactActivateCode
public boolean cmactActivateCode
CM_ACTSTATUS_ACTIVATE_CODE
-
cmactActivateFile
public boolean cmactActivateFile
CM_ACTSTATUS_ACTIVATE_FILE
-
cmactActive
public boolean cmactActive
CM_ACTSTATUS_ACTIVE
-
cmactProgrammable
public boolean cmactProgrammable
CM_ACTSTATUS_PROGRAMMABLE
-
cmactInvalid
public boolean cmactInvalid
CM_ACTSTATUS_INVALID
-
cmactBroken
public boolean cmactBroken
CM_ACTSTATUS_BROKEN
-
cmactPsnRequired
public boolean cmactPsnRequired
CM_ACTSTATUS_PSN_REQUIRED
-
realTimeClockUsed
public boolean realTimeClockUsed
CM_BOXSTATUS_BATTERY_POWERED_CLOCK_USED
-
value
public long value
Contains all above information or'ed using the CM_BOXSTATUS_ flags. This member is required for internal reasons but can also be used as replacement of the above flags. The following code
is equivalent to this one:if ( cmboxstatus.hasFlash ) System.out.println("CmStick has flash memory -> CmStick/M");if ( cmboxstatus.value | CodeMeter.CM_BOXSTATUS_HASFLASH ) System.out.println("CmStick has flash memory -> CmStick/M");
-
-