Archive: Detect Dialip vs DSL/Cable


Detect Dialip vs DSL/Cable
Is it possible to detect if the user is using a 'dialup' connection versus dsl/cable ?

I looked thru the 'dialer' functions
and am not sure yet which function will do the trick

guess I need to test for an actual number ?
like 3104023980 for the connection ?

many thanks
g


System::Call 'wininet.dll::InternetGetConnectedState(*i .r11, i 0) .r10'

returns connection flags $R1

!define INTERNET_CONNECTION_MODEM "1"
!define INTERNET_CONNECTION_LAN "2"
!define INTERNET_CONNECTION_PROXY "4"
!define INTERNET_CONNECTION_MODEM_BUSY "8"


many many thanks...
this is a great help :)