Showing results for 
Search instead for 
Did you mean: 

How to get the System Hardware key from a java program

Former Member
0 Kudos

Hi All

I am trying to get the hardware key from the System which is unique.I am able

to get the MAC Address of the System,But it won't be useful for my requirement.

I need Some other hardware key which is unique for the system.Is there any java

program to get the hardware key(Except MAC address).

If so i need the related links to resolve this issue

thanks and regards


Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

Hi Satya,

Check the post:

0 Kudos

Hi Abilash

As u have given the thread contains the information about B1. We are using SAP B1 2004.As is said in the thred B1LicenseFile.txt file that is not existed in the SBOLicense directory .

SAP B1 service manager --> Settings,When i give the local server IP ,I got the Hardware key from the System.

We want to know how they are getting the hardware key .Is it possible to get that

hardwware key through the java program/DIAPI

thanks and regards


Active Contributor
0 Kudos

Hi Srinivas,

I really didnt see any API which gives System Hardware key.

Check the <b>saplicense</b> command in <b>/usr/sap/<SID>/SYS/exe/run/</b>. If you run this command with <b>-get</b> it displays the required Info.

What you can do here is, write a Java Program which executes this command (you can use Runtime.exec()) and redirect the output to some stream and process it.