tags:

views:

64

answers:

0

I've managed to write a small app which finds routers and does nat traversal via upnp by using the Windows API and this blog post here http://69.10.233.10/KB/IP/PortForward.aspx?display=PrintAll&fid=275054&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=1800331 but now I'm trying to get some connection statistics from the router as well.

I'm interested to print out mainly stuff such as maximum upstream/downstream rates for the WAN link, which most routers seem to know, but I can't figure out how to use the Windows API to find this out. I know that I'm supposed to look for a device called "urn:schemas-upnp-org:service:WANPPPConnection:1" (from the UPnP forum specification here: http://www.upnp.org/standardizeddcps/documents/UPnP%5FIGD%5FWANPPPConnection%201.0.pdf) but not sure what to do next once I've done this.

Any pointers from anyone who has done this before? Thanks