Checking internet connectivity

Hi,
i was wondering if there's a way to check wether the devide is able to connect to the Internet or not.
I'm developping an application that can be installed on both connected and not-connected PDAs (even if they tend to be very few) and should lock some functions if the PDA cannot connect.
any suggestion?
Thanks!
[345 byte] By [Seta] at [2007-12-16]
# 1
The most obviouse way is to try to connect some always available site (www.googe.com, yahoo.com etc...)
AlexY at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 2
Hi Alexy,
Thanks, that's what i've been thinking of... and did, but as it may take a few moments to check if the connectivity is available (waiting for the timeout) I was wondering if there were any way to check for any communication module inside the device instead of waiting for a response.
Seta at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...