taher Posted March 21, 2005 Share Posted March 21, 2005 im looking for a c# wrapper class that will allow me to enumerate the Remote Access Services (RAS) connections, listen for events (on connect/on online/on disconnect), RAS statistics like duration and stuff..etc.. and anything in c# related to RAS.. thank you in advance. Link to comment Share on other sites More sharing options...
0 yyy Posted March 21, 2005 Share Posted March 21, 2005 You'll find some help in here: http://www.codeproject.com/aspnet/webdialup.asp Just download the project's code. Link to comment Share on other sites More sharing options...
0 taher Posted March 21, 2005 Author Share Posted March 21, 2005 i have already seen this.. anything else? Link to comment Share on other sites More sharing options...
0 taher Posted March 21, 2005 Author Share Posted March 21, 2005 and what about "listen for events (on connect/on online/on disconnect)" ? it doesnt have to be C#, it could be c++ .. i just want at least to know what api i could use. Link to comment Share on other sites More sharing options...
0 yyy Posted March 21, 2005 Share Posted March 21, 2005 i have already seen this.. anything else? 585647000[/snapback] What's wrong with it ? It is exactly what you want :huh: Link to comment Share on other sites More sharing options...
0 taher Posted March 21, 2005 Author Share Posted March 21, 2005 well i need the "listen for events (on connect/on online/on disconnect)".. not just do a loop of GetConnectionState Link to comment Share on other sites More sharing options...
0 yyy Posted March 21, 2005 Share Posted March 21, 2005 Are you sure there's such a thing ? When I needed to do it I just set a timer which checked the state every 1-5 seconds and it worked perfectly. I couldn't find anythinhg like that anywhere.But maybe there is. Link to comment Share on other sites More sharing options...
0 taher Posted March 21, 2005 Author Share Posted March 21, 2005 well there are notification handlers and callback functions that are called on these events and its on the msdn but i cannot find any example of it Link to comment Share on other sites More sharing options...
0 JeffW Posted February 24, 2009 Share Posted February 24, 2009 If you're trying to access the remote access service (RAS) in Windows, check out the DotRas project on CodePlex. http://www.codeplex.com/DotRas It should have what you're looking for. Link to comment Share on other sites More sharing options...
Question
taher
im looking for a c# wrapper class that will allow me to enumerate the Remote Access Services (RAS) connections, listen for events (on connect/on online/on disconnect), RAS statistics like duration and stuff..etc.. and anything in c# related to RAS..
thank you in advance.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts