Licensing question

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top