Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

IClientCapability

Return to previous page

  • 4/7/2015
  • 2999 Views

Comments

2999 Views

IClientCapability

Last updated long time ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The IClientCapability interface was introduced in DotNetNuke 6.1 and is used to expose the Device Capabilities of the device being used to access content. The device detection is based on User Agent sent by browser.

IClientCapability provides capabilities supported by the http requester (e.g. Mobile Device, TV, Desktop). IClientCapability has the following properties:

  • IsMobile – Is this a Mobile Device.
  • IsTablet – Is this a Table Device
  • IsTouchScreen – Does client have Touch capabilities
  • SupportsFlash – Does client support Flash
  • FacebookRequest – Is the client coming through FaceBook fan page. If yes, you can obtain FaceBook related information, such as FaceBook Userid
  • ScreenResolutionWidthInPixels – Screen Width
  • ScreenResolutionHeightInPixels – Screen Height
  • UserAgent – Client’s user agent.
  • Capabilities - A key-value collection containing all capabilities supported by client

Examples of projects using the API

Contents
No sections defined
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out