I should to check the connection to internet and keep that connection alive.. so i have few ways to do that, by using tcpclient or by using ping class.. and open new thread for that for every time slice check if the connection is alive.. what the best practice for that? thanks!
Edit: I see that have similiar question to that at: What is the best way to check for Internet connectivity using .NET?
But there the question is using WebClient that is slower than using TcpClient.. so it not the best practice for check the connection...