Microsoft KB Archive/884323

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

Article ID: 884323

Article Last Modified on 10/26/2007

-

APPLIES TO


 * Microsoft Internet Explorer (Programming) 6.0

-





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).



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:

http://msdn2.microsoft.com/en-us/library/ms534712.aspx

For more information about how to determine client browser capabilities, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms525942.aspx

Keywords: kbinfo kbhowto KB884323

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.