Is there a way to verify that a device is connected when it is behind a "guest" network login? (like when you use wifi at a hotel and have to provide the room number/password)
THanks,
Rusty
This is done directly from your router, depending on router. You can look at the leased IP's in the DHCP list. it will give you a name or MAC address of the device and how long its been connected.
Thanks,
Let me clarify. I would like to, from within my Android application, detect that there is a guest network so I can require the user to "sign in". I won't have access to any router physically.
Is there a way to detect this from an application?
I appreciate the help.
Rusty
I don't think that there is any simple way to do it.
You can check whether the device is connected (ServerSocket.GetMyIp) and then try to download a simple page (like a small text file). If there is a log-in page then the html returned will be different.