Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<ApplicationPool> pools = new List<ApplicationPool>();
- List<WorkerProcess> processes = new List<WorkerProcess>();
- ServerManager serverManager = new ServerManager();
- ApplicationPoolCollection appPools = serverManager.ApplicationPools;
- foreach (ApplicationPool Pool in appPools)
- {
- pools.Add(Pool);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement