Page 2 of 2

Re: Windows Service

Posted: Thu Dec 01, 2016 10:12 am
by Staj
In VirtualRadar.Headless.View.MainView.ShowView(), would you consider checking Console.KeyAvailable or Console.IsInputRedirected and using Console.In.Read() [Or Console.ReadLine()] for when standard input is redirected? Console.ReadKey is not redirected standard input friendly and this change would make it alot easier to build a service wrapper that works with Release build.

Re: Windows Service

Posted: Wed Dec 07, 2016 1:24 am
by agw
Feel free to submit a pull request in Github if you've got a working implementation :) I've not merged pull requests before, the source was on CodePlex up until a couple of months ago, but one of the reasons I moved to Github was to make it easier to take contributions to the source. From the looks of this tutorial it seems fairly straight-forward:

http://hisham.hm/2016/01/01/how-to-make ... -tutorial/

But failing that, yes, I'll add it to the list of things to do.