Default Internet Connection

  • Thread starter Thread starter ricolee99
  • Start date Start date
R

ricolee99

Hi Everyone,

Thanks for reading my post. Can someone please tell me if there's
something that will tell me the name of the default internet connection
(ie.) thru registry ? I have two types of connections: LAN and dial up
(3 different ISPs), I would like to determine what the user has for
default connection. I'm trying to do this programmatically and I can't
find an API that will allow me to do this, that's why I"m hoping I can
find it in the registry or command line.

Thanks in advance

Rico
 
So far, all I can find is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RAS AutoDial\Default

and each user has a key referencing this setting:

HKEY_CURRENT_USER\RemoteAccess\Profile

and each type settings for each account:

HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager

with an account settings under:

HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts

I don't have a LAN, but I hope it's setup the same way
 
Back
Top