Explain how to license your control in C#.NET
Create Activex Control that needs license at runtime: Assume control is MyActivex.LicensedControl and license key for the control is eieirureiureue32823njndjfdnkjdfn.
1. find code that creates this control.
2. Add following
code MyActivex.LicensedControl
myControl = new MyActivex.LicensedControl();"
System.Reflection.FieldInfo f = typeof(AxHost).GetField("licenseKey",
System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
f.SetValue(myControl, "eieirureiureue32823njndjfdnkjdfn");
3. Build the application and run it.