Detect Operating System Service Pack

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear Support,

I'm not an ASP programmer, however so far by searching the web, I have
created this working code:

<html>
<body>
<p>
<p>
<b>School IP address:</b>
<%Response.Write(Request.ServerVariables("remote_addr"))%>
</p>
<b>Browser:</b>
<%= Request.Browser.Browser %>
</p>
<b>Browser Version:</b>
<%= Request.Browser.Version %>
</p>
<b>ActiveX Controls Enabled:</b>
<%= Request.Browser.ActiveXControls %>
</p>
<b>Operating System:</b>
<%= Request.Browser.Platform%><br>
</body>
</html>

Which detects IP, Browser, Browser Version and OS. How can I detect the OS
Service Pack which is installed? Thank you!
 
This is what the CGI "http_user_agent" returns for my XP SP2 system.

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322;
..NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

So it does not look like you can retrive this using "server side" code.

The information you are picking up is only what the browser chooses to pass
on when it makes a request to the server. I guess with Web servers / web
developers browser version and .Net framework version is more important than
the service pack level of OS.

Mike.
 
Back
Top