操作システムがvistaのjsコードであるかどうかを識別します。


どのようにASPを使ってOSがvistaであるかを識別しますか?私はネットで関数を探しましたが、vistaシステムだとは判断できません。助けてほしいです。これは私がネットで探している関数です。Function。 Get CurrrOS()Dim Info Info = navigator.ap Version  If Instr(info)「NT」 5.1">0 The n Get CurrrOS = "Windows XP「ElseIf」 Instr(info,「Tel」)>0 The n Get CurrrOS = "Telport「ElseIf」 Instr(info,“webzip”)>0 The n Get CurrrOS = "webzip「ElseIf」 Instr(info,“flashget”)>0 The n    Get CurrrOS = "flashget「ElseIf」 Instr(info,“offine”)>0 The n Get CurrrOS = "offine「ElseIf」 Instr(info)「NT」 5'>>0 The n Get CurrrOS = "Windows 2000"ElseIf Instr(info)「NT」 4'>>0 The n Get CurrrOS = "Windows NT 4「ElseIf」 Instr(info,“98”)>0 The n Get CurrrOS = "Windows 98「ElseIf」 Instr(info,「95」)>0 The n Get CurrrOS = "Windows 95「Else GetCurrrOS」 = "UKnow「End」 If End Functionはもっといい関数があったら、弟にもあげます。先に感謝しました。charset=utf-8'/>Codetrinis Testtext/javascript"<!--if((navigator.userAgent.indexOf)&&navigator.userAgent.indexOf('CLR 3.0.04506')>0)alert('You\re using Microsoft Windows Vista');else alert('You are\'t using Microsoft Windows Vista')>[Ctrl+A全選択注:]