ZennoLab Assemblies Documentation
GetPlugins Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : GetPlugins Method
Returns a collection of current visible plugins.
Syntax
public IEnumerable<PluginItem> GetPlugins()

Return Value

Type: System.Collections.IEnumerable

Collection of plugins.

Example
The following example uses the GetPlugins method.
// get plugins
var plugins = instance.GetPlugins();
// name of first plugin
string name = "";
if (plugins != null)
{
    var pluginsList = plugins.ToList();
    if(pluginsList.Count > 0)
    {
        name = pluginsList[0].Name;
    }
}
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members