Click or drag to resize
HostAddRoute Method (Route, NullableInt32)
Adds a route to the host's routing table.

Namespace: Network.Sim.Core
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddRoute(
	Route route,
	Nullable<int> index = null
)

Parameters

route
Type: Network.Sim.Network.Ip.RoutingRoute
The route to add to the host's routing table.
index (Optional)
Type: SystemNullableInt32
The row number to insert the route add or null to add the route to the end of the routing table.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe route parameter is null.
See Also