|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
IntroductionASP.NET provides an extensible mechanism for identifying a mobile client device, and for making the information available to the ASP.NET page framework and the ASP.NET mobile Web application. Like the BackgroundThe You can use the Using the codeYou can access a lot of information about the browser if your browser is correctly identified using // Define System.Web.Mobile.MobileCapabilities currentCapabilities; // Get MobileCapabilities from current Request.Browser MobileCapabilities currentCapabilities = (MobileCapabilities)Request.Browser; // get a property of the browser string preferredRenderingMIME=currentCapabilities.PreferredRenderingMIME; Sample code uses
|
||||||||||||||||||||||