I have a windows service created by VB.NET that could be more than one. So I have an .exe file (myapp.exe) and with this exe I can install more services (myapp_1, myapp_2, etc).
Is there some method to know, into vb.net code, the name of the service?
Because I tried the
Process.GetCurrentProcess().ProcessName but it returns the exe name (myapp) and not the process name.