Detect if connected in Windows.