on 05-06-2014 7:42 AM
What they said ^^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In SAP 9.1 is:
String installationId = SAPbouiCOM.Framework.Application.SBO_Application.Company.InstallationId;
String systemId = SAPbouiCOM.Framework.Application.SBO_Application.Company.SystemId;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think u can get little bit information from oula..
plz check it .
if it's wrong plz ignore it..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Srinivas,
But I can't get Installation Number and System Number using this class. How can I get them?? as Its giving me an error of "Error HRESULT E_FAIL has returned from a call to a COM component".
Here is the code for your reference:
string x = null;
string x2 = null;
string Hkey=null;
string Hkeys = null;
SBOLICENSELib.LicenseInfo lic = new SBOLICENSELib.LicenseInfo();
lic.GetHardwareKey(out Hkey); // This working FINE
lic.GetInstallationNumber(out Hkeys); //Its giving me the above error
lic.GetSystemNumber(out Hkey11); // Same goes with it, its giving me the above error
x = Hkey;
x2 = Hkeys;
label1.Text = x;
label2.Text = x2;
Regards,
Idrees
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.