|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jp.protection.pub.pro.LicenseHostProContext
com.jp.protection.pub.pro.Java6LicenseHostProContext
public class Java6LicenseHostProContext
This class represents context for the License Host by providing access to various system and application properties. It represents Java6 specific implementation that doesn't use native libraries to get MAC addresse(s) of the the network card(s).
Field Summary | |
---|---|
(package private) static java.lang.String |
RESULT_UNKNOWN
|
(package private) java.lang.ref.WeakReference |
systemInfo
|
Fields inherited from class com.jp.protection.pub.pro.LicenseHostProContext |
---|
ATTR_AVAILABLE_PROCESSORS, ATTR_HOST_NAME, ATTR_INSTALL_ID, ATTR_IP_ADDRESS, ATTR_LOCALE, ATTR_MAC_ADDRESS, ATTR_MAC_ADDRESSES, ATTR_USER_NAME, fLicenseHost, fVerbose |
Constructor Summary | |
---|---|
Java6LicenseHostProContext(LicenseHostPro aLicenseHost)
|
Method Summary | |
---|---|
java.lang.String |
getCpuID()
Returns CPU ID |
protected long |
getHardwareAddress(byte[] aHardwareAddress)
|
long |
getMACAddress()
Returns MAC address of primary network card |
long[] |
getMACAddresses()
Returns MAC addresses of all network cards |
java.lang.String |
getMotherboardID()
Returns motherboard ID |
long |
getTotalPhysicalMemorySize()
Returns total physical memory size in bytes |
static void |
main(java.lang.String[] args)
|
java.lang.Object |
systemInfo()
|
Methods inherited from class com.jp.protection.pub.pro.LicenseHostProContext |
---|
createAttributes, createAttributes, error, error, fillAttributes, getActivationNumber, getAttributeName, getAvailableProcessors, getCustomLockAttribute, getHostName, getHostNames, getInstallID, getIPAddress, getSystemProperty, getUserName, isVerbose, setActivationNumber, setNativeLibFolder, setVerbose, unqualifiedHostName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.ref.WeakReference systemInfo
static final java.lang.String RESULT_UNKNOWN
Constructor Detail |
---|
public Java6LicenseHostProContext(LicenseHostPro aLicenseHost)
Method Detail |
---|
public long[] getMACAddresses()
LicenseHostProContext
getMACAddresses
in class LicenseHostProContext
protected long getHardwareAddress(byte[] aHardwareAddress)
public long getMACAddress()
LicenseHostProContext
getMACAddress
in class LicenseHostProContext
public java.lang.Object systemInfo()
public java.lang.String getCpuID()
LicenseHostProContext
getCpuID
in class LicenseHostProContext
public java.lang.String getMotherboardID()
LicenseHostProContext
getMotherboardID
in class LicenseHostProContext
public long getTotalPhysicalMemorySize()
LicenseHostProContext
getTotalPhysicalMemorySize
in class LicenseHostProContext
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |