Removing license key plugin

Hi all,

Im developing a license system for my plugin I was able to create a digitally sined plugin which on first start up prompted me with a license menu. I clicked on validate and the plugin runs for now, but now I’m not able to remove the license.

I’ve tried the following:

Disable plugin on load
Remove plugin RHP file
Remove reg key.

Can aynone help me with this?

regards Reinder

I found a solution to do this programmatically:

protected override Result RunCommand(RhinoDoc doc, RunMode mode)
{
Guid guid = new Guid(“B4301A2D-DBC5-40CE-9A22-8C2BA9D73FAC”);
Rhino.PlugIns.LicenseUtils.DeleteLicense(guid);
return Result.Success;
}