, and code accordingly.
You can find a number of possible solutions here In this stack overflow article
And while there seems to be no direct way to get this to codebehind, you can always send it to the server using AJAX - if you really need to have that information in your server side code (I have no idea why you would). A simple AJAX tutorial can be found here
@Surgey: Yes, you're an awesome coder. You clearly know more then the rest of us. So when people like you give answers like this, obviously just not caring enough to give a real answer, I find it to be very frustrating. Why not just give the guy a little real information, like I just did, so he can learn?