title: How to automatically detect a connected SSID using C#
body: <p>I was wondering if there is any method to automatically detect whether I'm connected to a specific network's SSID when using C#. </p>
  
  <p>I saw examples like <a href="https://stackoverflow.com/questions/2331570/how-to-get-ssid-and-rssi-for-win7-using-c-sharp">this</a>, <a href="https://stackoverflow.com/questions/9428873/how-do-i-know-if-my-computers-not-connected-to-a-network">this</a> and <a href="https://stackoverflow.com/questions/431755/get-ssid-of-the-wireless-network-i-am-connected-to-with-c-sharp-net-on-windows">this</a> . </p>
  
  <p>What I really wanted was for my application to be able to automatically detect that I'm connected or disconnected to that SSID to perform some functions for each cases. </p>
  
  <p>Please and thank you for the help</p>