//Called when the plugin is loaded, the author of the plugin should set the details of the plugin here. public Plugininterface.Entry.Pluginproperties Getproperties_event(Plugininterface.Entry.Pluginproperties Properties) { Properties.author = "Joshua Glenn"; Properties.pluginname = "Monoconf Plugin"; Properties.pluginversion = "1.0001"; return(Properties); }
// Called when the plugin is loaded, the author of the plugin should set the details of the plugin here. public Plugininterface.Entry.Pluginproperties Getproperties_event(Plugininterface.Entry.Pluginproperties Properties) { StringBuilder author = new StringBuilder(256); StringBuilder pluginName = new StringBuilder(256); StringBuilder pluginVersion = new StringBuilder(256); author.Append("---"); pluginName.Append("---"); pluginVersion.Append("---"); if (cppDll.IsLoaded()) { cppDll.getproperties_event(author, pluginName, pluginVersion); cppDll.Unload(); } Properties.author = author.ToString(); Properties.pluginname = pluginName.ToString();; Properties.pluginversion = pluginVersion.ToString(); return(Properties); }