How can a Windows .Net Service get its own filename (not service name)?
I have a Windows Service written in C#. I want to be able to get the filename of the service executable -- NOT the service name. Does anybody know how I can do this.? I can't use the Application class because I can't add it's reference to a Service.