473,508 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detect Operating System Service Pack

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_a ddr"))%>
</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!
Mar 8 '07 #1
1 2343
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.
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:F0**********************************@microsof t.com...
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_a ddr"))%>
</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!

Mar 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
727
by: charlies224 | last post by:
Hi, I am trying to write an application involving taking pictures with a Web Camera in VB .NET. I am just wondering how I can detect and control the web camera within my application. The web...
9
6676
by: Yaron C. | last post by:
Hi, Is there is a way to detect Service Pack 2 for XP in JS ? Can I know it from navigator.userAgent ? Thanks, Yaron
0
1727
by: InstallAware | last post by:
Dear Group If you want to perform a slipstreamed install of .NET Framework 1.1, including Service Pack 1, here's how. First, what do we mean by slipstreamed install? It means that version 1.1...
10
3211
by: Vavel | last post by:
Hi all! I want to insert the record into the table by using an application program that includes the following statements: EXEC SQL BEGIN DECLARE SECTION; long hvInt_Stor; long hvExt_Stor;...
4
2076
by: henry | last post by:
Hi all, I'm building a website which provides contents that only work for some browser types and versions. I know I can get most of the client browser information using HttpBrowserCapabilities...
2
1500
by: djoledjole | last post by:
How to retrieve server operating system from ASP.NET code Thanks in advance
5
1717
by: Wong_wj | last post by:
Hi all, I have created a VB.net application using: Microsoft Development Environment 2002 Version 7.0.9466 Microsoft .NET Framework 1.0 Version 1.0.3705 The application was working fine in...
13
6613
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
4
4325
by: kihjin | last post by:
Hi, this is my first post here. I tried to read the Posting Guidelines but the page was blank. I'll try to use basic common sense, but please forgive (and inform) me if I commit an error in my post....
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7383
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.