活动目录操作基类
摘要:public class DirectoryBase { protected static DirectoryEntry entry = null; /// <summary> /// /// </summary> /// <param name="entryPath"></param> public DirectoryBase(string entryPath) { try { entry = new DirectoryEntry(entryPath); entry.RefreshCache(); } catch { ent
阅读全文
posted @
2011-04-28 13:23
wolfweb
阅读(218)
推荐(1)
一个xml操作基类
摘要:第一次发表,尽请拍砖。。。public class ConfigurationBase { protected static XmlDocument XmlDoc = null; private static string XmlPath = string.Empty; public ConfigurationBase() { } public ConfigurationBase(string xmlPath) { XmlDoc = new XmlDocument(); XmlDoc.Load(xmlPath); XmlPath = xmlPath; } protected XmlNode N
阅读全文
posted @
2011-04-28 13:20
wolfweb
阅读(242)
推荐(0)