public bool checkPlug(string plugName)
{
XmlElement root = plugDoc.DocumentElement;
XmlNodeList plugList = root.SelectNodes("/Plugins/Plugin/PlugName");
foreach (XmlNode temp in plugList)
{
if (temp.InnerText.Equals(plugName))
return true;
}
return false;
}