Hi,
Have you checked this link ?
How to get System Hardware Key
There is an SAP Business One License API which allows you to read the information from the License Services.
Hope that can help you.
Thanks & Regards
Ankit Chauhan
SAP Business One Global Support