M
Mark Olbert
I'm confused about the UsageMode parameter passed to GetLicense() in my custom LicenseProvider.
When I create an instance of a licensed component in a custom UITypeEditor -- which pretty clearly means I'm in design mode! --
UsageMode gets passed as UsageMode.Runtime. This is bollixing up my license provider something fierce.
The licensed component is created by calling Invoke() on a ConstructorInfo object. I don't know why that should matter, but maybe it
does.
What do I need to do to ensure UsageMode gets set correctly?
- Mark
When I create an instance of a licensed component in a custom UITypeEditor -- which pretty clearly means I'm in design mode! --
UsageMode gets passed as UsageMode.Runtime. This is bollixing up my license provider something fierce.
The licensed component is created by calling Invoke() on a ConstructorInfo object. I don't know why that should matter, but maybe it
does.
What do I need to do to ensure UsageMode gets set correctly?
- Mark