[Mono-dev] Mono.Unix Process helpppp !!!

Mesut Özkan mesutozkan at live.com
Wed Oct 29 05:12:05 EDT 2008


hi friends...i use mono develop and i can create a unix ( solaris )program 
this program should list Unix Process...
which reference should i use ?
which method should i use ?

i did this program in Windows C#
how can i do this program GTK# for Unix ?

my C# Code   this  //////////


 using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace ConsoleApplication3
{
    class Program
    {
       public  static void Main()
        {

            Yaz();
            Console.ReadLine();
        }

        private static void Yaz()
        {
            Process[] processlist = Process.GetProcesses();

            foreach (Process theprocess in processlist)
            {
                Console.WriteLine("Process: {0} ID: {1}",
theprocess.ProcessName, theprocess.Id);
            }
        }
    }
}


İMPORTANT !!!! : i using System.Diagnostics; in windows but using Mono.Unix;
in unix  how ??


Please help me :( immediate
-- 
View this message in context: http://www.nabble.com/Mono.Unix---Process--helpppp-%21%21%21-tp20223224p20223224.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list