Exemplo n.º 1
0
 /// <summary>
 /// Returns default device information for the requesting device or specified user-agent/headers.
 /// </summary>
 /// <param name="request">WURFL cloud request object</param>
 /// <returns></returns>
 public DeviceInfo GetDeviceInfo(WurflCloudRequest request)
 {
     return(GetDeviceInfo(request, new String[] { }));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns given capabilities for the requesting device or specified user-agent/headers.
 /// </summary>
 /// <param name="request">WURFL cloud request object</param>
 /// <param name="capabilities">Capabilities to return</param>
 /// <returns></returns>
 public DeviceInfo GetDeviceInfo(WurflCloudRequest request, String[] capabilities)
 {
     return(DetectDevice(request.HttpContext, request.UserAgent, null, capabilities, true /* User agent may be different from request */));
 }