Looking for Code Sample for what should be a simple solution.......
When someone comes to my website, I want to know what type of device they are on (For example: PC, Smartphone, or Tablet)
I do NOT need really detailed specifics ( For example, I do not need to know if it is Android or Apple)
I would like to quickly identify the device and then store that info in my database for reporting at a later time.
Website is ASP using SQL Server and running on IIS 7.
Thanks - D