Tag Archives: Enumerate

WMI and CSharp (C#): Enumerate all classes from a namespace

Now that we know how to enumerate all the namespace from root, let’s have a look on how to enumerate all the classes from a namespace. using System; using System.Collections.Generic; using System.Text; using System.Management; namespace WmiNamespace { class Program { static void Main(string[] args) { //Represents the scoop for management operations ManagementScope ms = new… Read More »