This Example is part of my blog The example shows how to use System.ServiceProcess.dll in Unity as interacting with windows service is not possible in unity without any external interface
[Note: The following requirements are based on the project on which I built the demo ]
-Unity2017.2 -Visual Studio 2017 Community