RRAS Static Route


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 :cool:
 
Ad

Advertisements

Ad

Advertisements

R

Rick Knight

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 :cool:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top