| Route Class |
Namespace: Network.Sim.Network.Ip.Routing
public class Route
The Route type exposes the following members.
| Name | Description | |
|---|---|---|
| Route(String, String, Interface, Int32) |
Initializes a new instance of the Route class.
| |
| Route(IpAddress, IpAddress, IpAddress, Interface, Int32) |
Initializes a new instance of the Route class.
|
| Name | Description | |
|---|---|---|
| Destination |
The IP address of the destination network.
| |
| Gateway |
The gateway through which the destination network can be reached.
| |
| Interface |
The local interface through which the gateway can be reached.
| |
| Metric |
The metric, i.e. cost of using the route.
| |
| Netmask |
The network mask that, together with the destination IP address describes the
network id.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Returns a textual representation of this instance of the Route class.
(Overrides ObjectToString.) |