determining network connection

jack Lindsay

Member
Joined
Nov 27, 2008
Messages
13
Programming Experience
Beginner
Hi guys.

im shortly gonna be building a simple web browser app for a rep team. what i was wondering was, if vb.net has the functionality to determin between what network connection is being used.

here's what i was thinking and also what we use.

1 laptop,
1 usb dongle modem(3g,hsdpa)whatsamacallit.
2 different web links

when a rep logs on the internet through a wireless lan connection at a branch office and wishes to access a particular company website, he can do so by visiting a specific link. if he chooses to visit the same site through the "dongle", he has to use a different link (dont ask me why...i didn't design the system).

what i was hoping for was a custom web browser that looks at what connection is being used (LAN or DONGLE) and then based on that connection, uses a specified link.

i can figure the logic for most of it (if statement) and i already have a working web browser that i can modify to suit my needs...its just determining the connection.

thanks in advance

jack lindsay
 
Been a while since i've checked this post...no replys :( , can it not be done?

if not, any ideas how it can be...maybe in another language?
 
I wouldnt bother. It would be far simpler to just design an HTML page as a launch pad with a:

Click here if youre using a dongle

Click here if youre on the LAN


-

However, you might have some luck doing stuff like looking at the machine's IP address.. the dongle might be a different IP range or have a different subnet mask and gateway compared to the LAN. Run IPCONFIG on a couple of machiens and take a look
 
Back
Top