is there a RAS-API in the .net framework

G

gordian

hello,
i want to know if there is a 'RAS-API' in the .net framework.
how can i list my dialup connections with vb.net?
and how can i query the status of a dialup connection?

thank you for helping me
gordian
 
H

Herfried K. Wagner [MVP]

* "gordian said:
i want to know if there is a 'RAS-API' in the .net framework.
how can i list my dialup connections with vb.net?
and how can i query the status of a dialup connection?

P/invoke on the RAS API, there is no managed way to do that.
 
T

Tom Dacon

The only managed wrapper for RAS I've found is at the following link:

http://www.codeproject.com/Purgatory/rasdemo.asp

This is an 'unedited contribution' to CodeProject, of a C# project
implementing a wrapper around the RAS API.. There's no accompanying article,
and the code is undocumented. However the parts of it I've used seem to work
OK, and this is the only such code I've found on the web. Download it and
give it a try.

I'm slowly going through the source code and documenting it, for my own
edification. If I ever get the documentation up to the standard I try to
shoot for, I may try to find a way to re-contribute it, with the permission
of, and attribution to, the original author .

HTH,
Tom Dacon
Dacon Software Consulting
 

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