Best way to know which device type is requesting website?
<p>What is the best way to know which device type is requesting website?</p>

<p>I want to know that which device (desktop/laptop/mobile/tablet etc..) is generating request to my website using java script/j-query or c# code.</p>

<p>Also i want to know few more details:</p>

<p>Device screen resolution
OS Name
Browser Name and Version
Requesting IP address
Device ID
Location</p>

<p>Is there any way to get all the above details...pls suggest.</p>
