Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to determine whether a client computer is running Windows XP Service Pack 2 from the user agent string in the Web browser


View products that this article applies to.

Introduction

When a user connects to your Web site, the client browser may transmit information about the client browser and the operating system. (This information is known as the user agent string.) This article discusses how to use this information to determine whether the client computer is based on Microsoft Windows XP Service Pack 2 (SP2).

↑ Back to the top


More information

If the client browser is Microsoft Internet Explorer 6 for Windows XP SP2, the user agent string will include the SV1 token. For example, the following user agent string indicates that the client computer operating system is Windows XP SP2 and that the browser is Internet Explorer 6:

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


For more information about how to obtain the user agent string from a computer that connects to your Web site, visit the following Microsoft Web site:For more information about how to determine client browser capabilities, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB884323, kbhowto, kbinfo

↑ Back to the top

Article Info
Article ID : 884323
Revision : 5
Created on : 10/26/2007
Published on : 10/26/2007
Exists online : False
Views : 343