[Mono-osx] Strange Output

Vikram Kone vikramkone at gmail.com
Fri Jun 6 17:56:18 EDT 2008


I use the following function to list all the processes running in my OS

 

public static void ListAllRunningProcesses()

        {

            // Get all processes on local machine.

            Process[] runningProcs = Process.GetProcessesByName("firefox");

            

            foreach (Process p in runningProcs)

            {

                

                string info = string.Format("-> PID: {0}\tName: {1}\t",

                    p.Id, p.ProcessName);

                Console.WriteLine(info);

            }

            Console.WriteLine("************************************\n");

        }

 

-Vikram

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080606/33594142/attachment.html 


More information about the Mono-osx mailing list