I'm using Windows 7 with Internet Explorer 11. I have created a very simple JavaScript function to retrieve client machine information in an ASP.NET Page. I'm using the following code to get the client machine name , it gives me an error.
var objWMIService = GetObject("winmgmts:\\root\\CIMV2");
the above code works in IE 6,7,8 but not in IE 9,10,11.
Error: "GetObject" is undefined. Request help from this forum. If "GetObject" is not supported anymore in IE 11 what is the alternative API.
Any help is appreciated.