Uiinfrastructure API Docs  
 

DevicesVarPack.GetDevice Method 

This method determines the proper markup type to use for whatever device the user is using. This uses the accepts header and locates the first supported markup format that the device prefers.

public virtual string GetDevice(
   string strAcceptsHeader,
   string strUserAgentHeader
);

Parameters

strAcceptsHeader
strUserAgentHeader

Return Value

String the code for the markup that should] be displayed. null implies standard HTML.

See Also

DevicesVarPack Class | com.plumtree.uiinfrastructure.application.varpacks Namespace