• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 用C#操縱IIS(代碼)

    發表于:2008-05-30來源:作者:點擊數: 標簽:代碼usingSystemTextIIS
    關鍵字:用C#操縱IIS(代碼) using System; using System.DirectoryServices; using System.Collections; using System.Text.RegularExpressions; using System.Text; /** * @author 吳海燕 * @email wuhy80-usual@yahoo.com * 2004-6-25 第一版 */ namespac
    關鍵字:用C#操縱IIS(代碼)

    using System;
    using System.DirectoryServices;
    using System.Collections;
    using System.Text.RegularExpressions;
    using System.Text;
    /**
     * @author 吳海燕
     * @email  wuhy80-usual@yahoo.com
     * 2004-6-25 第一版
     */
    namespace Wuhy.ToolBox
    {
         /// <summary>
         ///  這個類是靜態類。用來實現管理IIS的基本操作。
         ///  管理IIS有兩種方式,一是ADSI,一是WMI。由于系統限制的原因,只好選擇使用ADSI實現功能。
         ///  這是一個遺憾。只有等到只有使用IIS 6的時候,才有可能使用WMI來管理系統
         ///  不過有一個問題就是,我現在也覺得這樣的一個方法在本地執行會比較的好。最好不要遠程執行。
         ///  因為那樣需要占用相當數量的帶寬,即使要遠程執行,也是推薦在同一個網段里面執行
         /// </summary>
         public class IISAdminLib
         {
              #region UserName,Password,HostName的定義

             public static string HostName
             {
                  get
                  {
                       return hostName;
                  }
                  set
                  {
                       hostName = value;
                  }
             }
             public static string UserName
             {

                  get
                  {

                       return userName;

                  }

                  set
                  {

                       userName = value;

                  }

             }
             public static string Password
             {

                  get

                  {

                       return password;

                  }

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>