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



The information in this article 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:For more information about how to determine client browser capabilities, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:5/31/2005
Keywords:kbinfo kbhowto KB884323 kbAudDeveloper kbAudITPRO