cancel
Showing results for 
Search instead for 
Did you mean: 

Get system Hardware key

Former Member
0 Kudos

Hi Experts

I need to create some kind of security to don't allow copy and install the application in another machine or system. My team define some rules and now i need to implement.

One of this rule is get the Active Hardware license of CE. If i go to NWA -> Configuration Management -> Licenses, i can see it in Active Hardware Key field.

I need to get this value progamatically.

If is possible get it in some screen of nwa, i know that is possible to get in my module.

Someone know how can i do this?

Thanks and regards

Marcos Brandao

Accepted Solutions (1)

Accepted Solutions (1)

dao_ha
Active Contributor
0 Kudos

Hi Marcos,

You can get the Hardware Key using the OS command 'saplicense -get'. I don't know if there's any API that allows you to get this value directly but I guess you can always invoke this OS command programmatically and manipulate the output to get the value.

Hope it helps.

Regards,

Dao

Answers (0)