I'm working with angular5. And I want to fetch Ip Adress of User's PC. I have written a script for that, Which uses RTCPeerConnection. Script is working fine with chrome and firefox. But in IE RTCPeerConnection is not working. So I have Used ActiveXObject for the same. But I'm not sure how can I get User's IP using ActiveXObject
I'm getting User's PC name using this code.
var network = new ActiveXObject('WScript.Network');
var pcName = network.UserDomain; //User's Pc name
How can I get User's Ip using ActiveXObject? Is there any other way to find user's Ip when browser is Internet Explorer?