Can any one help me in getting clients machine-name/host-name for my website authentication.which is running internally in my company domain. I tried the below code but got server host-name instead of client.
var os = require("os");
var hostaddress = os.hostname();
I know a way to get ip address of client using below code
req.connection.remoteAddress
Since ip address will change in change of internet connection.I want to autenticate with computer name.Please help me in getting computer name of client login to my site.