G
Guest
How do you get the current instance of an executing assembly from within a
static method? I'm trying to use the LicenseManager.Validate(type,instance)
method and having trouble calling it from within a static method
(specifically a console's Main()).
If it wasn't static, I'd just call
LicenseManager.Validate(typeof(currentClass), this), but this isn't available
when it's a static method.
static method? I'm trying to use the LicenseManager.Validate(type,instance)
method and having trouble calling it from within a static method
(specifically a console's Main()).
If it wasn't static, I'd just call
LicenseManager.Validate(typeof(currentClass), this), but this isn't available
when it's a static method.