my question is how to disable fully the input for a console application.
Its for a TCP Server and i dont want to enter somethinks in the console.
at the moment i have:
for (int i = 0; i < 500; i++){
Console.ReadKey(true);
}
But this not working really good ( Must wait of press enter 500 times and then the application can be continue ).
Sorry for my bad english, hope someone can help me.
Best wishes