title: Get a list of passwords Wi-Fi
body: <p>I want a way to view the previously saved WiFi ssid and passwords on the android phone ?</p>
  <p>for example</p>
  <p>good boy  221548dshvshg</p>
  <p>This code is for fetching WiFi data without a password. I want to get the password with the network name</p>
  <pre><code> &lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.ACCESS_WIFI_STATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.CHANGE_WIFI_STATE&quot; /&gt;
  
  List myListrow = new List();
  
          var wifiMgr = (WifiManager)GetSystemService(WifiService);
          var wifiList = wifiMgr.ScanResults;
  
          foreach (var item in wifiList)
          {
              var wifiLevel = WifiManager.CalculateSignalLevel(item.Level, 100);
               myListrow.Add(($&quot;Wifi Name: {item.Ssid} - Single: {wifiLevel}&quot;));
  
          }
  </code></pre>