1.3.1 Interface Object

This object provides the interface-specific information and the routing protocol configurations associated with the interface. The interfaces on the RRAS server can be enumerated using RRouterInterfaceEnum. Each interface is associated with a handle that can be used to refer to a specific interface. This handle can be obtained through the RRouterInterfaceEnum or through RRouterInterfaceGetHandle. For new interfaces, creating the interface through RRouterInterfaceCreate will also provide the reference handle. With the interface handle, specific tasks on the interface can be performed, which are as follows:

An interface object corresponding to a demand-dial interface can also be used to perform tasks like connect and disconnect using the RRouterInterfaceConnect and RRouterInterfaceDisconnect methods.