[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 504
  • Last Modified:

How can I detect a Mac OS X client?

I have to serve a different page to mac os x clients. Can this be done automatically, or do I need to provide an alternate link?

Browser is unimportant it has do do with an Adobe Acrobat problem I have been having (http://www.experts-exchange.com/Web/Graphics/Adobe_Acrobat/Q_20947854.html).
0
jukes1
Asked:
jukes1
  • 3
  • 2
1 Solution
 
Bob LearnedCommented:
What does Request.Browser.Type return?  For me it returns IE6.

Bob
0
 
jukes1Author Commented:
It looks like I may be able to get it from Request.Browser.Platform = "UNIX" or "Mac68k"
0
 
Bob LearnedCommented:
Yeah, that would have been next.  You wanted to know platform not browser type.  Duh!!!

Bob
0
 
jukes1Author Commented:
Thanks, you pointed me in the right direction.

I guess that I can't tell Mac OS X specifically, but I can handle all unix derivatives, which represents such a small portion of traffick that I can ignore the fact that all UNIX are not OSX.
0
 
Bob LearnedCommented:
Also, what does Environment.OSVersion.ToString return?

Bob
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now