hi i have written a javascript code for detecting the browser information and operating system user using..but it is dispalying browser code anme mozilla for all browsers.
<script type="text/javascript">
txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt += "<p>Browser Name: " + navigator.appName + "</p>";
txt += "<p>Browser Version: " + navigator.appVersion + "</p>";
txt += "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt += "<p>Platform: " + navigator.platform + "</p>";
txt += "<p>User-agent header: " + navigator.userAgent + "</p>";
document.getElementById("example").innerHTML = txt;
</script>
i wrote the above javascript..there is any built in fiunctions for detecting browser name in .net
plz help me in getting this..
using this:--
------------
lblbrowserName.Text = Request.Browser.Type.ToString() + "." + Request.Browser.MinorVersion.ToString();
but in case iam using chrome it is not dispalying as chrome
Regards,
Bhanu Prakash Bysani