c#/.net: detect presumably way being run use console application


i have c#/.net way run both console concentration service.
currently i give command-line choice start console application, nonetheless i prevaricate that.



is illusory programmatically detect presumably way being started service?



if pristine win32, i try starting use startservicectrldispatcher tumble behind console returned error_failed_service_controller_connect, nonetheless system.serviceprocess.servicebase.run() pops adult an errordialog fails following only advantage but signaling an blunder program.



any ideas?



Comments

Popular posts from this blog

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?