Get Internet Connected State c#

Internet Connected State c#

[DllImport("wininet.dll")]
        private extern static bool InternetGetConnectedState(out int Description, int ReservedValue);
        public static bool IsConnectedToInternet()
        {
            int Desc;
            return InternetGetConnectedState(out Desc, 0);
        }
Get Internet Connected State c# Get Internet Connected State c# Reviewed by Bhaumik Patel on 4:02 AM Rating: 5