We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How can I detect a Mac OS X client?

jukes1
jukes1 asked
on
Medium Priority
521 Views
Last Modified: 2012-06-27
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 (https://www.experts-exchange.com/Web/Graphics/Adobe_Acrobat/Q_20947854.html).
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
It looks like I may be able to get it from Request.Browser.Platform = "UNIX" or "Mac68k"
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
Yeah, that would have been next.  You wanted to know platform not browser type.  Duh!!!

Bob

Author

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.
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
Also, what does Environment.OSVersion.ToString return?

Bob
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.