cancel
Showing results for 
Search instead for 
Did you mean: 

Could not find HW Key on 8.81 PL5

bhavank_gajjar
Active Contributor
0 Kudos

Hello Expert,

I am using 8.81 PL5,I have used COM Licence Bridge 2.0 for 8.81 in my Add-on.

When I try to run Add-on from Server it works Fine for Following Code but it throws Exception for Client Machine.

Dim HKEY As String = ""

Dim LicInf As SBOLICENSELib.LicenseInfo = New SBOLICENSELib.LicenseInfo

LicInf.GetHardwareKey(HKEY)

Please help me out!!

Regards,

Bhavank

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Have you checked these:

?

Former Member
0 Kudos

Hai,

GetHardwareKey() Returns the license server hardware key.

We can use this method only in server. In client system, it cannot be used and in case it is used, it will throws the exception.

Thanks & Regards,

Parvatha Solai.N

bhavank_gajjar
Active Contributor
0 Kudos

Hi Parvatha,

Thanks for Reply..

Then what we can use to check HW Key on Client Machine? I have Implement Bridge COM in my Customize Add-on..

Can u help me in this regard??

Have you ever Implement this functionality in your Add-on??

Regards,

Bhavank

Former Member
0 Kudos

Hai,

just try this,

From menu, Help-->About SAP Business one , we can retrieve HW key.

SBO_Application.ActivateMenuItem("257")

oForm = SBO_Application.Forms.GetForm(999999, 1)

oEdit = oForm.Items.Item("79").Specific

Dim HKey As String = oEdit.Value

Hope this helps you.

Thanks & Regards,

Parvatha Solai.N

bhavank_gajjar
Active Contributor
0 Kudos

Hi,

Thanks for Reply again.

I got your point to fetch HW key but why COM License Bridge could not find HW Key on client side its a PL Problem or What??

If i want to develop using COM License Bridge then what i have to code??

Regards,

Bhavank

bhavank_gajjar
Active Contributor
0 Kudos

Hi,

Any one having Solution for this??

Can any SAP Moderator comment on this issue??

Regards,

Bhavank