Home

Wednesday, August 22, 2012

How to get Computer Information Using JavaScript


<Script language="javascript">
          var WshNetwork = new ActiveXObject("WScript.Network");
          alert('domain ='+   WshNetwork.UserDomain);
          alert('machine name = '+  WshNetwork.ComputerName );
          alert('user name = '+   WshNetwork.UserName);
</script>

No comments:

Post a Comment

rathoddhirendra.blogspot.com-Google pagerank and Worth