Service

Hi,

Is there a way to run a C# program as a windows service, so that it keeps running untill the windows are running.

Actually this program must monitor the real time creation of files in a specific directory. As soon as a file is created in that folder the program (since it is running as a service), detects its creation and then reads it and prints the output to the console.

Can you please tell me how can i achieve the above scenario (all of it).

Many thanx.......

P.S i also want the program's icon in the Windows Taskbar (i.e System Tray)...




Answer this question

Service