title: how to find out which culture's are supported in webproject -> Class CultureInfo?
body: <p>in my project i have two supported languages (german - "de", and english - "en")
  I have resource files like: <code>Home.aspx.de.resx, Home.aspx.en.resx, Home.aspx.resx</code></p>
  
  <p>is it possible to read dynamicly which languages are supported in current webproject?
  I dont want to validate it manually if they are just "de" and "en" like I do in follow code:</p>
  
  <pre><code>if (langName != "en" || langName != "de")
                      {
                          ci = new CultureInfo("en");
  
                          this.Session["Culture"] = ci;
                      }
  </code></pre>
  
  <p>I would like to get access of webproject languages like: <code>CultureInfo.(Who knows)..</code>.
  If I will add a new language, f.E. "fr" I need again to add it manually into my logic.</p>
  
  <p>my <code>Application_AcquireRequestState</code> method look like this:</p>
  
  <pre><code>protected void Application_AcquireRequestState(object sender, EventArgs e)
          {
              if (HttpContext.Current.Session != null)
              {
                  //Create culture info object 
                  CultureInfo ci = (CultureInfo)this.Session["Culture"];
  
                  //Checking first if there is no value in session 
                  //and set default language 
                  //this can happen for first user's request
                  if (ci == null)
                  {
                      //Sets default culture to english invariant
                      string langName = "en";
  
                      //Try to get values from Accept lang HTTP header
                      if (HttpContext.Current.Request.UserLanguages != null &amp;&amp; HttpContext.Current.Request.UserLanguages.Length != 0)
                      {
                          //Gets accepted list 
                          langName = HttpContext.Current.Request.UserLanguages[0].Substring(0, 2);
  
                      }
                      if (langName != "en" || langName != "de")
                      {
                          ci = new CultureInfo("en");
  
                          this.Session["Culture"] = ci;
                      }
                      else
                      {
                          ci = new CultureInfo(langName);
                          this.Session["Culture"] = ci;
                      }
                  }
  
                  //Finally setting culture for each request
                  Thread.CurrentThread.CurrentUICulture = ci;
                  Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(ci.Name);
  
              }
          }
  </code></pre>