Skip to content

Commit 4845739

Browse files
author
Michael Dürr
committed
Client description; version number
1 parent ebc57ea commit 4845739

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Slascone.Provisioning.Sample/src/Program/Program.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private void ActivateExample() throws Exception {
170170

171171
// ToDo: Fill the variables
172172
var result = slasconeProxy
173-
.Activate(new ActivateInfo(ProductId, LicenseKey, Helper.GetUniqueDeviceId(), "test", "test"));
173+
.Activate(new ActivateInfo(ProductId, LicenseKey, Helper.GetUniqueDeviceId(), "SLASCONE-demo-java", "SLASCONE Java demo"));
174174

175175
// If the activation failed, the api server responses with a specific error
176176
// message which describes the problem. Therefore the LicenseInfo object is
@@ -196,7 +196,7 @@ private void HeartbeatExample() throws Exception {
196196
// heartBeatDto.setHeartbeat_type_id(null);
197197
heartBeatDto.setOperating_system(Helper.GetOperatingSystem());
198198
heartBeatDto.setProduct_id(UUID.fromString(ProductId));
199-
heartBeatDto.setSoftware_version("22.2");
199+
heartBeatDto.setSoftware_version("25.1.0");
200200
// heartBeatDto.setToken_key(null);
201201

202202
var result = slasconeProxy.AddHeartbeat(heartBeatDto);

0 commit comments

Comments
 (0)