Open guldmann opened 1 year ago
When a plugin is loaded check that is derived from same pluginBase as the one used in running service
` var baseType = LoadedPlugin.GetType().BaseType; var pluginVersion = baseType.Assembly.GetName().Version;
var base = pluginBase.GetType(); var baseVersion = base.Assembly.GetName().Version
if(baseVersion != pluginVersion) error
`
When a plugin is loaded check that is derived from same pluginBase as the one used in running service
` var baseType = LoadedPlugin.GetType().BaseType; var pluginVersion = baseType.Assembly.GetName().Version;
var base = pluginBase.GetType(); var baseVersion = base.Assembly.GetName().Version
if(baseVersion != pluginVersion) error
`