Hi,
I am building a windows service which will scan the available wifis using NETSH WLAN. i created a class inside the the windows service solution and defined my method there. 1 methods scan and other one write a file and then parses it to the database which saves the result in db. I created a GUI win form application of this application and its working 100 percent fine. But when i use this class in windows services what happens is windows service is installed and showed as running service but the class method does seem to be called and working. I tried to use method within the service but that did't work also. If i debug it from Visual studio it works fine but does not work as windows services. What should I do?
Running project class methods in window service
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vishal JadavRank #1,692 · 901 reputationPosted May 26, 2016, 2:19 AM EDT
Raju Kumaran3 reputationPosted May 31, 2016, 1:04 AM EDT