title: How to check validity of password for wifi network
body: <p>Basically i have info such as the network interface, name of the wifi network, password, etc, and i am trying to check if the wifi password is correct by trying to log into the wifi with it and getting the received message to check if it is correct or not. So far i have tried to connect to a wifi network using the network setup command line command which worked until i tried getting the output from it into the application, so i was wondering if anyone knows a simple way i can use that command line tool with the application or any built in ways i could use that would not rely on command line.</p>
  
  <p>Thanks.</p>