Solved

How can I detect a Mac OS X client?

Posted on 2004-04-08
5
486 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 (http://www.experts-exchange.com/Web/Graphics/Adobe_Acrobat/Q_20947854.html).
0
Comment
Question by:jukes1
  • 3
  • 2
5 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 10785670
What does Request.Browser.Type return?  For me it returns IE6.

Bob
0
 

Author Comment

by:jukes1
ID: 10785734
It looks like I may be able to get it from Request.Browser.Platform = "UNIX" or "Mac68k"
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10785779
Yeah, that would have been next.  You wanted to know platform not browser type.  Duh!!!

Bob
0
 

Author Comment

by:jukes1
ID: 10785791
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10785849
Also, what does Environment.OSVersion.ToString return?

Bob
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question