public string GetProperty(string propertyName)
{
// First looks for a 51Degrees.mobi property name.
if (Context.Request.Browser[propertyName] != null)
return Context.Request.Browser[propertyName];
// Then looks for a .NET property name.
if (Context.Request.Browser.Capabilities[propertyName] != null)
return Context.Request.Browser.Capabilities[propertyName].ToString();
// No match found, return null.
return null;
}