Solved

How can I detect a Mac OS X client?

Posted on 2004-04-08
5
476 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now