示例#1
0
文件: mksite.cs 项目: thehexia/iismgr
 private static void AddSite(IISHandler handler, ApplicationPool appPool, string siteName, string filePath, int port = 80)
 {
     filePath = Path.GetFullPath(filePath);
     handler.AddSite(appPool, siteName, filePath, port);
 }