Home

Using a license protected library

I want to use an external library. The library is license-protected. A serial number must be provided before the first object can be created. I called the required method (Licensing.AddSerialNumber("...")) in the first line of the query (C# Statements) but got an exception ("Library...not licensed") in the line after where an object is created.

The library developer assumes that LINQPad is loading some types before the query is executed so the licensing is to late. Is it possible to do the licensing earlier?

Comments

Sign In or Register to comment.