Syntax of Register(?)
Moderators: SDS, support, admin
Syntax of Register(?)
Hello,
I try to Register my application. With the Function Register(this) it works fine but I woud like to prefer to work with the function Register(val, regData, addToReg) but I don't know the values for the parameters.
I try the following (values are dummys):
ArrayList _licInfo = new ArrayList();
_licInfo.Add("25749258742985798243598237598237598423759874359874359923487234532542435"); //key
_licInfo.Add("Great Company Inc."); //User
_licInfo.Add("superman@metropolis.com"); //EMail
Protection.Register("25749258742985798243598237598237598423759874359874359923487234532542435", _licInfo , false);
I receive always a Error-Dialog: "Error in the registration key!"
What is wrong?
Is it possible to check the Lizenz without a erro-dialog (I prefer a exception)?
Thank you for your help.
CADImport.Net 8 Pro
I try to Register my application. With the Function Register(this) it works fine but I woud like to prefer to work with the function Register(val, regData, addToReg) but I don't know the values for the parameters.
I try the following (values are dummys):
ArrayList _licInfo = new ArrayList();
_licInfo.Add("25749258742985798243598237598237598423759874359874359923487234532542435"); //key
_licInfo.Add("Great Company Inc."); //User
_licInfo.Add("superman@metropolis.com"); //EMail
Protection.Register("25749258742985798243598237598237598423759874359874359923487234532542435", _licInfo , false);
I receive always a Error-Dialog: "Error in the registration key!"
What is wrong?
Is it possible to check the Lizenz without a erro-dialog (I prefer a exception)?
Thank you for your help.
CADImport.Net 8 Pro
Re: Syntax of Register(?)
Hello.
The function Register(string, ArrayList, bool) uses the license data to realize the registration. "Error in the registration key!" message is the result of incorrect values of arguments. There is no other way to check registration data - you need to use correct values.
Please send your order number or other registration information to support@cadsofttools.com. We will check your license data.
Alexander.
The function Register(string, ArrayList, bool) uses the license data to realize the registration. "Error in the registration key!" message is the result of incorrect values of arguments. There is no other way to check registration data - you need to use correct values.
Please send your order number or other registration information to support@cadsofttools.com. We will check your license data.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Syntax of Register(?)
Hello.
Unfortunately I haven't noticed this earlier - the key must be not added to ArrayList instance. Please remove the following string from your code:Then registration will be successfull.
Alexander.
Unfortunately I haven't noticed this earlier - the key must be not added to ArrayList instance. Please remove the following string from your code:
Code: Select all
_licInfo.Add("25749258742985798243598237598237598423759874359874359923487234532542435"); //key
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Syntax of Register(?)
Thank you. Now it works.
I wish me for a next version of the CADImport.net that we can check the registration without a error dialog. I will use the program on a server as a service and there is no user in front to see the message box.


Re: Syntax of Register(?)
Hello.
CAD Import .NET provides WinForm controls only. WinForm controls can't be used on server. The library can be used on server without placing its control. Please check ASP.NET demo project.
CAD Import .NET 9 includes the modification that prevents any message/dialog boxes on server. A server license required to use the library on server.
Alexander.
CAD Import .NET provides WinForm controls only. WinForm controls can't be used on server. The library can be used on server without placing its control. Please check ASP.NET demo project.
CAD Import .NET 9 includes the modification that prevents any message/dialog boxes on server. A server license required to use the library on server.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support