CPUシリアル番号の取得

458 ワード



<script language="javascript">
		var locator = new ActiveXObject ("WbemScripting.SWbemLocator"); 
		var service = locator.ConnectServer("."); 
		var properties = service.ExecQuery("SELECT * FROM Win32_Processor"); 
		var e = new Enumerator (properties); 
		var sn = e.item().ProcessorID;
		document.write(sn);
</script>