Click here to Skip to main content
15,916,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I am new to mobile web applications.So I need any Unique id or serial number for mobile device using Asp.net.For example Mobile have ios or, windows, android os what ever may be.Please help me. I am struggling for get id. Advance thanks for your help.
Posted

1 solution

Refer - How to know if the asp.net site is accessed from a mobile device or from a system/laptop/machine(windows,mac etc)[^]
C#
Request.Browser.IsMobileDevice
Request.Browser.MobileDeviceManufacturer
Request.Browser.MobileDeviceModel
Request.Browser.ScreenPixelsWidth
Request.Browser.SupportsXmlHttp

MSDN -
1. HttpRequest.Browser Property[^]
2. HttpBrowserCapabilities Class[^]
 
Share this answer
 
Comments
keerthana.k 9-Apr-14 3:48am    
Hi Tadit dash,
Is it possible for get unique id of mobile using asp.net
No, you cannot get that from a Web Application due to security reasons.
You can get above information only.
keerthana.k 9-Apr-14 4:17am    
give any other idea to get unique id using third party
No, there is no such third party library either. By the way, why you need that?
keerthana.k 10-Apr-14 5:22am    
Hi Tadit Dash,
I was developed web site application in mobile.I need to get unique id from any mobile device. That unique id stored in database.Please help me.Its urgent.Thanks for your reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900