Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. using System;
  2. using System.Management;
  3.  
  4. public class Example
  5. {
  6. public static void Main()
  7. {
  8. ManagementClass c =
  9. new ManagementClass("Win32_Process");
  10. foreach (MethodData m in c.Methods)
  11. Console.WriteLine(
  12. "The class contains this method: {0}", m.Name);
  13. return;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement