Home › Forums › Software Development › [Solved] fixationDataStream.Next without Console.ReadKey ? › Reply To: [Solved] fixationDataStream.Next without Console.ReadKey ?
04/07/2017 at 12:10 #7124
Alex [Tobii]
Participant
Hi!
You can use a while loop with Thread.Sleep(10) instead of Console.ReadKey(). Please make sure to set _stop to true when all of your zones are visited.
private static bool _stop = true;
public static void Main()
{
while (!_stop)
{
Thread.Sleep(10);
}
}