Need a Windows 8 genius? We got an app for that too


Win8 Genius – it does what it says on the tin, it is your genius on your Windows 8 device.
We are building a set of dashboards for you where you can access information about your Windows 8 and device centrally in the modern fluid user interface. A place where you can view your network/internet info, your device info, your printers info among others. And what about a live tile to loop through some of these message on your home screen?

We are starting small but open for ideas on which pieces of information that can be added to this genius app.

The initial version of the app has been submitted to the store for certification. We are currently working on next dashboards which will be available soon.

We are happy for any feedback you may have:


How to check for availability of Internet in Windows 8

///

/// Property that returns the connection profile [ ie, availability of Internet ]

/// Interface type can be [ 1,6,9,23,24,37,71,131,144 ]

/// 1 – > Some other type of network interface.

/// 6 – > An Ethernet network interface.

/// 9 – > A token ring network interface.

/// 23 -> A PPP network interface.

/// 24 -> A software loopback network interface.

/// 37 -> An ATM network interface.

/// 71 -> An IEEE 802.11 wireless network interface.

/// 131 -> A tunnel type encapsulation network interface.

/// 144 -> An IEEE 1394 (Firewire) high performance serial bus network interface.

///

public static bool IsConnectedToNetwork

{

get

{

var profile = NetworkInformation.GetInternetConnectionProfile();

if (profile != null)

{

var interfaceType = profile.NetworkAdapter.IanaInterfaceType;

return interfaceType == 71 || interfaceType == 6;

}

return false;
}

}