Click or drag to resize
Route Class
Represents a route for reaching a particular network destination.
Inheritance Hierarchy
SystemObject
  Network.Sim.Network.Ip.RoutingRoute

Namespace: Network.Sim.Network.Ip.Routing
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Route

The Route type exposes the following members.

Constructors
  NameDescription
Public methodRoute(String, String, Interface, Int32)
Initializes a new instance of the Route class.
Public methodRoute(IpAddress, IpAddress, IpAddress, Interface, Int32)
Initializes a new instance of the Route class.
Top
Properties
  NameDescription
Public propertyDestination
The IP address of the destination network.
Public propertyGateway
The gateway through which the destination network can be reached.
Public propertyInterface
The local interface through which the gateway can be reached.
Public propertyMetric
The metric, i.e. cost of using the route.
Public propertyNetmask
The network mask that, together with the destination IP address describes the network id.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a textual representation of this instance of the Route class.
(Overrides ObjectToString.)
Top
See Also