摘要:
/// /// 设置用户密码 /// [DllImport("Netapi32.dll")] extern static int NetUserEnum([MarshalAs(UnmanagedType.LPWStr)] string sName,int Level,int filter,out IntPtr bufPtr,int Prefmaxlen, out int Entriesread,out int Totalentries,out int Resume_Handle); [DllImport("Netapi32... 阅读全文
摘要:
Process process= new Process(); process.StartInfo.CreateNoWindow = true; process.StartInfo.UseShellExecute = false; process.StartInfo.FileName = "Cmd.exe"; process.StartInfo.RedirectStandardInput = true; process.StartInfo.RedirectStandardOut... 阅读全文
摘要:
public static void addItemToXml(string method,string firstKey,string id,string checkName,string refValue) { XmlDocument xDoc = new XmlDocument(); xDoc.Load(txtValueHelper.txtValue); XmlNode xNode = xDoc.SelectSingleNode("Check"); XmlEl... 阅读全文