title: Android - detecting if wifi is WEP, WPA, WPA2, etc. programmatically
body: <p>I am looking for a programmatic way on Android to determine whether the WIFI my device is currently connected to is "secured" using either WEP, WPA, or WPA2.  I've tried Google searching and I cannot find a programmatic way to determine this.  I've also looked at the TelephonyManager (<a href="http://developer.android.com/reference/android/telephony/TelephonyManager.html" rel="noreferrer">http://developer.android.com/reference/android/telephony/TelephonyManager.html</a>) which also lacks this information.</p>
  
  <p>Thanks,
  J</p>