| .. | .. |
|---|
| 68 | 68 | } |
|---|
| 69 | 69 | |
|---|
| 70 | 70 | public void validateHW(RequestBean reqBean, String appCode, String activationCode) throws SeCurisException { |
|---|
| 71 | | - RequestBean currentHW = ReqGenerator.getInstance().createRequest(appCode, activationCode); |
|---|
| 71 | + RequestBean currentHW = ReqGenerator.getInstance().createRequest(appCode, activationCode, true); |
|---|
| 72 | 72 | if (!currentHW.match(reqBean)) { |
|---|
| 73 | 73 | throw new SeCurisException("Current System info mismatch the License System info:\n Licensed: \n" + JsonUtils.toPrettyJSON(reqBean, RequestBean.class) |
|---|
| 74 | 74 | + "\n Expected: \n" + JsonUtils.toPrettyJSON(currentHW)); |
|---|