Navigation:  Implementing EasyGo > Add the LicProtectorEasyGo.dll to your project >

Using C#

Previous pageReturn to chapter overviewNext page

First download the C# sample you need from the FAQ area on our website

 

Find below how to add a DLL to Visual Studio C#

 

In Visual Studio Solution Explorer go to References, select "LicenceProtector" and remove it.
Select "References" and add a reference
Chose tab "COM"
Select the "Licence Protector Library" entry whose path points to the new LicProtectorEasyGo251.dll
Press button "Select"
Press button "Ok" - Now the new Licence Protector object is available in your application
Replace all occurrences of the old object (e.g. LicenceProtector.LicProtectorEasyGo241) with the new one (e.g. LicenceProtector.LicProtectorEasyGo251)
Rebuild your application

 

 

The latest information about the ProgID, ClASSID, IID, LIBID can be found here.

 

As Licence Protector  is a COM server DLL it is used the same way you would integrate a Word automation. Just google for - Word Automation DLL C# to find guides for different compilers.

 

C# creates an interop.licenceprotector.dll. This DLL must be installed on the same directory like the main EXE file.

 


Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.5/help2000/index.html?using_csharp.htm