Hi everybody.
I'm trying to develop e network scanner. I've run into trouble when got to the part of scanning the IP's :) ... meaning that I need to make the scanning method non-blocking. To do so I thought the Ping.SendAsync would come in handy. I've followed this example: http://msdn2.microsoft .com/en-us/library/system.net.netw orkinformation. ping.aspx but when I try to use it in a Winforms application the WaitOne() method blocks the PingCompletedCa llback method that handles the pinging. I would really appreciate some help.
I'm trying to develop e network scanner. I've run into trouble when got to the part of scanning the IP's :) ... meaning that I need to make the scanning method non-blocking. To do so I thought the Ping.SendAsync would come in handy. I've followed this example: http://msdn2.microsoft .com/en-us/library/system.net.netw orkinformation. ping.aspx but when I try to use it in a Winforms application the WaitOne() method blocks the PingCompletedCa llback method that handles the pinging. I would really appreciate some help.
Comment