User2103319870 posted
But do not know
how tocheck the users to use mobile
devices to access my website. I used the
language C#.
You can try using the
IsMobileDevice Property to identify the browser is Mobile Browser or not.
Sample Code:
protected void Page_Load(object sender, EventArgs e)
{
//Check if browser is Mobile Browser or not
if (Request.Browser.IsMobileDevice)
{
}
}
Another option is to use the 51Degrees.Mobi package tool to verify the request are coming from mobile or desktop.
You can refer the below link for more details