添加引用:AspNetMMCExt
添加名字空间:using Microsoft.Aspnet.Snapin;
AspNetManagementUtility aspnet = new AspNetManagementUtility();

string e;
aspnet.DisplayAspNetConfigSettings("sonic-zzw", "", "/SignCode", "Default Web Site", "", Process.GetCurrentProcess().Id, out e);
    
添加名字空间:using Microsoft.Aspnet.Snapin;
AspNetManagementUtility aspnet = new AspNetManagementUtility();
string e;
aspnet.DisplayAspNetConfigSettings("sonic-zzw", "", "/SignCode", "Default Web Site", "", Process.GetCurrentProcess().Id, out e);
                    
                
                
            
        
浙公网安备 33010602011771号