Can I use the Network Instances feature on my protected DLL?

<< Click to Display Table of Contents >>

Navigation:  WinLicense > FAQ > Registration > Network Instances >

Can I use the Network Instances feature on my protected DLL?

There are some restrictions about that. When applying network instances on a protected DLL, the protection cannot determine in boot time (before your DllMain is executed) the number of instances running. This is because the server/client instance is not fully registered until your DllMain is executed.

 

As the protection boot loader cannot determine the number of running clients until your DllMain is executed, you should call the function WLRegNetInstancesGet to know the number of running instances and compare it with the maximum number of network instances allowed (WLRegNetInstancesMax). You have to call those functions after your DllMain has been executed.