Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3499464
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:36:53+00:00 2026-05-18T12:36:53+00:00

My app WP7 was not accepted because it fails to load if the internet

  • 0

My app WP7 was not accepted because it fails to load if the internet is not available. I looked for a way to check it and found this command

NetworkInterface.GetIsNetworkAvailable()

But it isn’t working on the emulator and I do not have any device to test it.
Could someone tell me if it returns false if the device is in Airplane mode? If not, how can I check for it?

Thanks,
Oscar

Edit: I also tried with this code:

try
{
    wsClient.CurrenciesCompleted += new EventHandler<CurrencyConversion.CurrenciesCompletedEventArgs>(wsClient_CurrenciesCompleted);
    wsClient.CurrenciesAsync(null);
}
catch
{
     NetworkNotAvailable();
}

But I am not able to catch the exception, I also tried in the wsClient_CurrenciesCompleted method, but also no good.

Where could I test it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:36:54+00:00Added an answer on May 18, 2026 at 12:36 pm

    Don’t test for “the internet in general” – test for the service you’ll actually be connecting to. Test for it by trying to connect to it – make some simple, non-destructive request on start-up. Yes, that will take a tiny bit of the user’s data allowance, but:

    • You will be warming up the networking stack and making a connection which should end up being kept alive automatically, so future latency will be reduced.
    • You could warn the user that they may have limited functionality if the connection fails.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok this question stems from this question: wp7: App failing! Can not figure out
I have added the following block of code to my WP7 app and not
I'm making an App for WP7 and I'm looking for a way to rotate
I'm learning to create an app for WP7 (Mango), and somehow having this problem.
as StartCom SSL Certificates are not preinstalled on WP7: is there a way to
I'm building this WP7 app that uses a video game API to get the
I'm working on my first WP7 App and this problem causes me some headache.
I am getting this weird error when making a WP7 app, and I can
This is a question on edit form UI for a WP7 app: I currently
My app uses a WebRequest at certain points to get pages from itself. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.