tag archive 'C#'

TCPForward is a tool that, as its name already says, allows to forward TCP connections on a specific port.

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 using System; using System.Diagnostics;     namespace MyProcesses { class MyProcesses { static [...]

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 using System; using System.Diagnostics;     namespace MyProcesses { class MyProcesses { static void Main(string[] args) { Process lProc = new Process();   lProc.StartInfo.FileName = "iexplore.exe"; lProc.StartInfo.Arguments [...]

read full post »

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 »

« newer posts - older posts »