title: HtmlAgilityPack How to get a SELECTED <option> in a <select>
body: <p>So im trying to get the selected Value from a selectfield.</p>
  
  <p>The Html:</p>
  
  <pre><code>&lt;select class= "c_selectfield" id="id_secMode-101" name="secMode-101"&gt;&lt;option value="1" &gt;None&lt;/option&gt;&lt;option value="2" &gt;WPA_PSK_TKIP&lt;/option&gt;&lt;option value="3" &gt;WPA2_PSK_AES&lt;/option&gt;&lt;option value="5" SELECTED &gt;WPA2-EAP&lt;/option&gt;&lt;option value="4"  &gt;WEP&lt;/option&gt;&lt;option value="7"  disabled&gt;Advanced config&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>In this Example WPA2-EAP is selected and i want the Programm to return the Value 5.</p>
  
  <p>My C# function looks like this:</p>
  
  <pre><code>        public void Get_Wlan_Settings_Html(HtmlDocument html)
      {
  
          SSID = html.GetElementbyId("id_Setssid-101").GetAttributeValue("value", "");
          PassKey = html.GetElementbyId("id_wlanMgr_fakePassKey-101").GetAttributeValue("value", "");
          client_user_id = html.GetElementbyId("id_userId-101").GetAttributeValue("value", "");
          eap_PassKey = html.GetElementbyId("id_wlanMgr_fakeEapPwd-101").GetAttributeValue("value", "");
  
      }
  </code></pre>
  
  <p>the elements i'm getting are in the same html, these work perfectly fine.
  But How can i get the selected Values?</p>