You are developing an outofbrowser application by using Silverlight 4. The main page of the application contains the following code segment:
public MainPage()
{
InitializeComponent();
NetworkChange.NetworkAddressChanged += (s, e) => CheckNetworkStatusAndRaiseToast();
Check Network Status And Raise Toast();
}
You need to ensure that the application will raise a toast notification when network connectivity changes. Which two actions should you perform in the CheckNetworkStatusAndRaiseToast method? (Each correct answer presents part of the solution. Choose two.)
A.
Verify that App.Current.IsRunningOutOfBrowser is true.
B.
Verify that App.Current.IsRunningOutOfBrowser is false.
C.
Verify that App.Current.HasElevatedPermissions is true.
D.
Verify that App.Current.HasElevatedPermissions is false.
E.
Examine NetworkInterface.GetIsNetworkAvailable().
F.
Call App.Current.CheckAndDownloadUpdateAsync() in a try/catch block.