I am making a wcf rest service which will be used from mobile devices. If the request is not from a mobile device, it will not be possible to access the service.
So I need to identify if the request is from android, iphone or windows mobile.
Is there any way that I can identify the request?? I tried to google it but did not get any suitable answer…!!
I think the only way to identify a mobile device is matching the User-Agent against a list of known mobile UA strings.
Here you have a list: http://www.zytrax.com/tech/web/mobile_ids.html