Walter.Net.Networking
Trace(String,Int32,Int32,Boolean) Method
Walter.Net.Networking Assembly > Walter.Net.Networking.Tracert Namespace > TraceEngine Class > Trace Method : Trace(String,Int32,Int32,Boolean) Method
The IP address of the destination.
Max hops to be returned.
The timeout in ms for the ping to reply.
if set to true it will use name servers and GEO providers to locate IP address owner.
Traces the route which data have to travel through in order to reach an IP address.
Syntax

Parameters

ipAddress
The IP address of the destination.
maxHops
Max hops to be returned.
timeout
The timeout in ms for the ping to reply.
useNs
if set to true it will use name servers and GEO providers to locate IP address owner.

Return Value

IReadOnlyList<TracertEntry>.
Exceptions
ExceptionDescription
IP address is not valid
Max hops can't be lower than 1.
Timeout value must be higher than 0.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TraceEngine Class
TraceEngine Members
Overload List