调整生成c2v方式
This commit is contained in:
@@ -154,8 +154,8 @@ public class HaspUtil {
|
|||||||
// log.info("license status: {}", status);
|
// log.info("license status: {}", status);
|
||||||
if(status == HaspStatus.HASP_STATUS_OK) {
|
if(status == HaspStatus.HASP_STATUS_OK) {
|
||||||
//如果已经安装过license ,读取指纹和 hasp id
|
//如果已经安装过license ,读取指纹和 hasp id
|
||||||
String licenseInfo = hasp.getSessionInfo(KEY_C2V_FORMAT);
|
// String licenseInfo = hasp.getSessionInfo(KEY_C2V_FORMAT);
|
||||||
// String licenseInfo = hasp.getInfo(KEY_SCOPE,KEY_C2V_FORMAT,vendorCode);
|
String licenseInfo = hasp.getInfo(KEY_SCOPE,KEY_C2V_FORMAT,vendorCode);
|
||||||
status = hasp.getLastError();
|
status = hasp.getLastError();
|
||||||
log.info("getLicense c2v license status: {}", status);
|
log.info("getLicense c2v license status: {}", status);
|
||||||
if (status != HaspStatus.HASP_STATUS_OK) {
|
if (status != HaspStatus.HASP_STATUS_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user