This project is read-only.

How to judge a dial-up Already connection? (user through the operating system for the case of dial-up)

Oct 30, 2012 at 6:18 PM

Users may dial-up through the operating system, instead of using my dialers, my program needs to start when the judgment whether the dial-up connection, I try to use RasDialer, but does not seem to be working, I ask how can I do, thank you!

Oct 30, 2012 at 6:52 PM
Edited Oct 30, 2012 at 6:53 PM

I have solved this problem, use the following code to get to the current connection.


ReadOnlyCollection<RasConnection>linkList= RasConnection.GetActiveConnections();


Thank DotRas project!