摘要:
this.serviceController1 = new ServiceController(); this.serviceController1.ServiceName = "MSFtpsvc"; if (this.serviceController1.Status == ServiceControllerStatus.Running) { try { this.serviceControl... 阅读全文
posted @ 2010-07-29 14:45
greencolor
阅读(130)
评论(0)
推荐(0)
摘要:
ServiceController mobServiceController4 = new System.ServiceProcess.ServiceController(); mobServiceController4.ServiceName = "MSFtpsvc"; if (mobServiceController4.Status == ServiceControllerStatus.Sto... 阅读全文
posted @ 2010-07-29 14:42
greencolor
阅读(417)
评论(0)
推荐(0)
摘要:
DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC");// Find unused ID value for new web site int siteID = 1; //得到现有的站点标识 foreach (DirectoryEntry entry in root.Children){ if (entry.Schema... 阅读全文
posted @ 2010-07-29 12:43
greencolor
阅读(159)
评论(0)
推荐(0)
浙公网安备 33010602011771号