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
Post a Comment