windows7, we can see different adapters in “Control Panel\Network and Internet\Network Connections”, ex: 3g modem, mobile data connection, ethernet, vpn etc…I think some of these are ras connections. Say if there is a connection made on “abc modem”(ras modem) using some program given by vendor, then you can right click on adapter and disconnect.
Is there a api available for this disconnect process?
windows7, we can see different adapters in Control Panel\Network and Internet\Network Connections, ex: 3g
Share
RasHangUp Function solved my problem. Though, i’m not so sure about consequences.
http://msdn.microsoft.com/en-us/library/aa377567(v=vs.85).aspx