views:

44

answers:

1

Hi,

how can I get the connection statues and speed in windows XP?

+1  A: 

This should tell you if a network is available.

bool IsAvailable = System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable();

Gets the speed of the network

long NetworkSpeed = System.Net.NetworkInformation.NetworkInterface.Speed;

See here for other things you can use: http://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterface(v=VS.100).aspx

kyndigs