Grasshopper component block loading

Hi,
I want to put a licesing check on my grasshopper assembly. Is there a way to block the loading the plugin if the license is not there? I tried the GH_AssemblyInfo.License property but it seems not to affect the loading of the component (on Rhino 6R34)

Any suggestions? Thanks a lot
Alberto

Override GH_AssemblyPriority, write the validation mechanism and return GH_LoadingInstruction.Abort on PriorityLoad() when validation fails.