Licensing question

G

Guest

Hi,

I have created a library, MyLibrary.dll by using C#.NET 2003.
I'm using Visual Studio.NET 2003 IDE.

I would like to create a simple licensing sceme for its usage.

Could you suggest me a good starting point for this.

At the moment, I'm trying in the following way, as mentioned in one of the
articles I went through,

[LicenseProvider(typeof(LicFileLicenseProvider))]
public class MyClass
{
private License lic = null;

public MyClass()
{
lic = LicenseManager.Validate(typeof(MyClass));
Console.WriteLine("Testing");
}
public void Dispose()
{
if(lic !=null)
{
lic.Dispose();
lic = null;
}
}
}

What is the next step..

Kindly let me know.

Cheers,

Naveen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top