Link to home
Start Free TrialLog in
Avatar of jukes1
jukes1

asked on

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 (https://www.experts-exchange.com/questions/20947854/FDF-not-filling-form-fields-on-Mac-OS-X.html).
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jukes1
jukes1

ASKER

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

Bob
Avatar of jukes1

ASKER

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.
Also, what does Environment.OSVersion.ToString return?

Bob