Subscribe via RSS ... Subscribe via e-mail ... Follow me on Twitter ... Follow me on Facebook ...

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 using System; using System.Diagnostics;     namespace MyProcesses { class MyProcesses {   public static void Main() { Process[] lProcList = Process.GetProcesses();   foreach(Process lProc in lProcList) Console.WriteLine("Process: {0} ID: {1}", lProc.ProcessName, lProc.Id);   } } [...]

read full post »

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 using System; using System.Collections;     namespace MyEnvironment { class MyEnvironment {   public static void Main() {   /* * List all environment variables * */   foreach (DictionaryEntry lVar in [...]

read full post »

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 using System; using System.ServiceProcess; using System.Text;     namespace MyProcesses { class MyProcesses { static void Main(string[] args) { ServiceController[] lServices = ServiceController.GetServices();   foreach (ServiceController lServcie in ServiceController.GetServices()) { Console.WriteLine("{0} -> [...]

read full post »

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 using System; using System.Collections;     namespace MyHashtable { class MyHashtable {   public static void Main() { Hashtable lHash = [...]

read full post »

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 using System; using System.Timers;     namespace MyTimer { class MyTimer [...]

read full post »

« newer posts - older posts »