第一次:
lm_code.h
#define VENDOR_KEY1 0x95a1a12f
#define VENDOR_KEY2 0x47ba2e94
#define VENDOR_KEY3 0xdf2e965e
#define VENDOR_KEY4 0xc14c5769
#define VENDOR_KEY5 0x313726a9
#define TRL_KEY1 0xde718c2b
#define TRL_KEY2 0xfab74a5e
#define VENDOR_NAME "TESTFLEXLM"
#define ENCRYPTION_SEED1 0x12345678
#define ENCRYPTION_SEED2 0x87654321
编译后,生成的TESTFLEXLM.lic 授权文件内容:
SERVER xrw ID=20090807 26002
VENDOR TESTFLEXLM
USE_SERVER
FEATURE F1 TESTFLEXLM 2.0 8-jan-2015 uncounted HOSTID=ANY ISSUER="MY \
TEST" NOTICE="test " SN=111111 TS_OK SIGN="0142 AAA2 436A 7E8F \
8831 07F1 9CA2 BF6F 4643 8CE6 E303 0E50 047F E031 DB2C 6AFD \
7E34 BFFB 1308 D330 1627"
第二次的lm_code.h
#define VENDOR_KEY1 0x95a1a12f
#define VENDOR_KEY2 0x47ba2e94
#define VENDOR_KEY3 0xdf2e965e
#define VENDOR_KEY4 0xc14c5769
#define VENDOR_KEY5 0x313726a9
#define TRL_KEY1 0xde718c2b
#define TRL_KEY2 0xfab74a5e
#define VENDOR_NAME "TESTFLEXLM"
#define ENCRYPTION_SEED1 0x1234567A //这里改动了下
#define ENCRYPTION_SEED2 0x87654321
再编译后,重新生成的TESTFLEXLM.lic 授权文件内容:
SERVER xrw ID=20090807 26002
VENDOR TESTFLEXLM
USE_SERVER
FEATURE F1 TESTFLEXLM 2.0 8-jan-2015 uncounted HOSTID=ANY ISSUER="MY \
TEST" NOTICE="test " SN=111111 TS_OK SIGN="0142 AAA2 436A 7E8F \
8831 07F1 9CA2 BF6F 4643 8CE6 E303 0E50 047F E031 DB2C 6AFD \
7E34 BFFB 1308 D330 1627"
两次生成的内容是一样的。。真是奇怪啊。