title: ASP.NET - how to detect a MAC user
body: <p>I am trying to detect a MAC user using c#. I have used the following code but it always says unknown when a mac user navigates to my site. It works great for windows users but not for MAC or anything else. Does anyone have any ideas how to pick up on mac users?</p>
  
  <p>Thanks</p>
  
  <pre><code>    HttpBrowserCapabilities moo = HttpContext.Current.Request.Browser;
  
      StringBuilder sb = new StringBuilder();
  
      sb.Append("&lt;p&gt;Browser Capabilities:&lt;/p&gt;");
      sb.Append("Type = " + moo.Type + "&lt;br&gt;");
      sb.Append("Name = " + moo.Browser + "&lt;br&gt;");
      sb.Append("Version = " + moo.Version + "&lt;br&gt;");
      sb.Append("Major Version = " + moo.MajorVersion + "&lt;br&gt;");
      sb.Append("Minor Version = " + moo.MinorVersion + "&lt;br&gt;");
      sb.Append("Platform = " + moo.Platform + "&lt;br&gt;");
      sb.Append("Is Beta = " + moo.Beta + "&lt;br&gt;");
      sb.Append("Is Crawler = " + moo.Crawler + "&lt;br&gt;");
      sb.Append("Is AOL = " + moo.AOL + "&lt;br&gt;");
      sb.Append("Is Win16 = " + moo.Win16 + "&lt;br&gt;");
      sb.Append("Is Win32 = " + moo.Win32 + "&lt;br&gt;");
      sb.Append("Supports Frames = " + moo.Frames + "&lt;br&gt;");
      sb.Append("Supports Tables = " + moo.Tables + "&lt;br&gt;");
      sb.Append("Supports Cookies = " + moo.Cookies + "&lt;br&gt;");
      sb.Append("Supports VB Script = " + moo.VBScript + "&lt;br&gt;");       
      sb.Append("Supports ActiveX Controls = " + moo.ActiveXControls + "&lt;br&gt;");
      sb.Append("CDF = " + moo.CDF + "&lt;br&gt;");
  </code></pre>