Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 10th, 2005, 10:18 AM
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I know the Client have~~~~

How can I know the Client have 'Adobe Acrobat Reader' by C# in ASP.NET?If someone want to download a book in my Web,I'd like to check whether he have a Reader and advise him to download a Reader.




 
Old April 10th, 2005, 03:19 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There is no direct method in .NET. You have a few options:

1. Some third party controls will fetch you certain data (BrowserHawk is one that comes to mind). However, this might not be a reliable method.

2. Sometimes you can sniff into the browser DOM. I've seen cases where people look in some collection of plugins and could potentially find something that contains "acrobat" to indicate the presence of the reader or regular acrobat. But keep in mind that you'll need to be able to communicate this back to the server with a auto-posting form or something similar.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting client to client (Socket programming) maricar C# 0 September 25th, 2008 04:34 AM
Getting Login name from client Quick209 ASP.NET 2.0 Basics 2 November 10th, 2005 01:46 PM
.Net client MuzOboz .NET Web Services 1 May 5th, 2005 01:15 AM
How can I know the Client have~~~~ youjing243 ASP.NET 1.x and 2.0 Application Design 0 April 10th, 2005 06:27 AM
Getting Data from the client wander Beginning PHP 18 October 2nd, 2003 06:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.