Solved

How can I detect a Mac OS X client?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IO.FileSystemWatcher dies when used in Powershell 1 45
coded character set iptc field within a jpeg 1 68
Not showing JavaScript in the list 5 36
Connection String 16 43
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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

911 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

14 Experts available now in Live!

Get 1:1 Help Now