473,766 Members | 2,035 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.Writ e(Request.Serve rVariables("rem ote_addr"))%>
</p>
<b>Browser:</b>
<%= Request.Browser .Browser %>
</p>
<b>Browser Version:</b>
<%= Request.Browser .Version %>
</p>
<b>ActiveX Controls Enabled:</b>
<%= Request.Browser .ActiveXControl s %>
</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 2358
This is what the CGI "http_user_agen t" 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**@discussio ns.microsoft.co mwrote in message
news:F0******** *************** ***********@mic rosoft.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.Writ e(Request.Serve rVariables("rem ote_addr"))%>
</p>
<b>Browser:</b>
<%= Request.Browser .Browser %>
</p>
<b>Browser Version:</b>
<%= Request.Browser .Version %>
</p>
<b>ActiveX Controls Enabled:</b>
<%= Request.Browser .ActiveXControl s %>
</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 cam I currently have is from Creative. Any help would be much appreciated
9
6797
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
1744
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 of the framework will be installed, with the service pack 1 update already applied, "slipstreamed". There will be no need to download additional updates or install service packs as a secondary step.
10
3252
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; EXEC SQL END DECLARE SECTION; hvInt_Stor = MMDB_STORAGE_TYPE_INTERNAL; hvExt_Stor = MMDB_STORAGE_TYPE_EXTERNAL;
4
2099
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 class, but I can't find a way to determine IE update version or service pack number. Any ideas? TIA Henry
2
1505
by: djoledjole | last post by:
How to retrieve server operating system from ASP.NET code Thanks in advance
5
1731
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 one system but crashes on the other. 1) Functioning PC OS :Window XP service pack 1, Version 1 (Build 2600.xpsp2.030422-1633) ..Net : Version V1.1.4322
13
6654
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 Framework Service Pack 1 in order to use ASP.net 1.1 and the net Framework 1.1 ------------------------------------------------------------------------------------------------ I found the following file, "svcpack.log" at C:\WINNT. It contains many...
4
4332
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. My goal is to detect the total amount of physical memory in the system regardless of any value set via /maxmem in boot.ini. The principle behind this technique is that if maxmem is set in boot.ini, and the value it is set to is less than what the...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10008
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
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 we have to send another system
3
2806
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.