Hey Guys, I am created a simple web application for windows phone 7 and submitted it to app hub...they told me that my app failed because i didn't check for data connection availability... when i googled for it,i came to know that NetworkInterface must be used...but my question us Where do i place this code?? is it to be a part of the button click event handler??? or a part of the constructor??? i cannot check this feature out in windows phone emulator...as it always returns true irrespective of the status of network connection and i don't have a win mo 7!! help would be much appreciated..

You should check for network as soon as you start application. Sp somewhere between initializing "main" (not sure how it is called in Windows development) and showing first user interfaace

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.