Home | Contact Us | Download | Support | Purchase | Products

Product List

Simple TraceRoute III

The following example demonstrates how to perform a simple TraceRoute to the remote host, www.yahoo.com, limits the number of hops to 30, and does NOT perform reverse lookups on the IP addresses. This results in faster responses.


TraceRouteReplyCollection results = TraceRouteClient.Trace( "www.yahoo.com" , 30, false);
//write out the results
Console.WriteLine( results.ToString() );
Console.WriteLine( "done.");


Dim results As TraceRouteReplyCollection = TraceRouteClient.Trace("www.yahoo.com", 30, True)
'write out the results

The box is not shipped. aspNetTraceRoute is a downloadable product.