摘要:
C#创建ini文件、读取值、修改值调用方法:int iBaudRate = InIHelper.ReadConfig("COM_SETUP", "波特率")InIHelper类: 1 public class InIHelper 2 { 3 private static... 阅读全文
摘要:
首先需要引用system32下的taskschd.dll测试环境:win8+vs2012+.net4.0 1 /// 2 /// 删除任务 3 /// 4 /// 5 private static void Delet... 阅读全文
摘要:
1 public class ServiceUtil 2 { 3 private string _ServiceName = string.Empty; 4 private string _AppName = string.Empty; 5 ... 阅读全文