Hi pavelzzz,
I can easily write some C# code to interface with the console application you have written. I trust the console application accepts command line arguments already and either returns the boolean result in it's call to exit() or outputs the boolean reult to the console.
I look forward to discussing this with your further.
Kind regards,
Christopher