RRAS Static Route

  • Thread starter Thread starter Rick Knight
  • Start date Start date
R

Rick Knight

Hi,

I have Routing and Remote Access server installed. I have added a
Dial-On-Demand interface. I have also added a Static Route, and set it
up so that it uses my DOD Interface. If I ping the required IP address
windows automatically connects and all works fine.

If I use the command line tool NetSH (ie. netsh routing ip show
persistentroutes) it displays the current static/persistent route and
it's associated Interface Name.

Does anyone know how to extract this information from within an MFC
application.

Thanks in Advance.
Rick 8-)
 
Thanks Ashok for the information, but I was actually thinking about
creating a DLL so many applications could use it.

Is there no windows API or exported DLL function that can do it?

Thanks in advance.
Rick 8-)
 
Back
Top