using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Web.Administration;
namespace NetBrain.Utility
{
public class IIS_Parser
{
public static string GetIISPoolEnabel32BitApp(string PoolName)
{
ServerManager manager = new ServerManager();
ApplicationPool pool = manager.ApplicationPools[PoolName];
if (pool != null)
{
return pool.Enable32BitAppOnWin64.ToString();
}
else
{
return "false";
}
}
public static string GetIISPoolQueueLen(string PoolName)
{
ServerManager manager = ne
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Web.Administration;
namespace NetBrain.Utility
{
public class IIS_Parser
{
public static string GetIISPoolEnabel32BitApp(string PoolName)
{
ServerManager manager = new ServerManager();
ApplicationPool pool = manager.ApplicationPools[PoolName];
if (pool != null)
{
return pool.Enable32BitAppOnWin64.ToString();
}
else
{
return "false";
}
}
public static string GetIISPoolQueueLen(string PoolName)
{
ServerManager manager = ne