判断客户端是否安装了.Net 2.0并且操作系统是Vista

If InStr(window.clientInformation.userAgent, ".NET CLR 2.0") And InStr(window.clientInformation.userAgent, "Windows NT 6.0") Then
	Response.Write "True"
END If

编程技巧