var clientType = Request.Headers["X-Client-Type"].FirstOrDefault();
switch (clientType)
{
case "Web":
// Website
break;
case "Mobile":
// Mobile app
break;
case "Desktop":
// Desktop application
break;
default:
// Unknown
break;
}
Sign up here with your email
ConversionConversion EmoticonEmoticon