I'm trying to pass in parameters to my windows service but the args in OnStart method is always empty.
protected override void OnStart(string[] args)
{
System.Diagnostics.Debugger.Launch();
}
I have multiple instances of my service installed on the same machine. Each should use different config so the idea to get the service name and according to that to read the right config.