For C# guys....
using System ;
using System.Runtime ;
using System.Runtime.InteropServices ;
public class Internet
{
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState( out int Description, int ReservedValue ) ;
public static bool IsConnectedToInternet( )
{
int Desc ;
return InternetGetConnectedState( out Desc, 0 ) ;
}
}
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.