I need MAC Address of current system using Angular
I tried this
run this command : npm install --save getmac
then in component file code is
getMACAddress() {
require('getmac').getMac(function (err, macAddress) {
if (err) throw err
console.log(macAddress)
alert(macAddress);
})
}
Is there any other way to fetch the MAC Address using Angular, TypeScript, JavaScript?

Yogendra SahuPosted May 27, 2019, 4:03 AM
Manoj BhoirPosted May 27, 2019, 3:06 AM
Yogendra SahuPosted May 27, 2019, 2:54 AM
I gone through this links but I think it is not for what I am asking
How I get MAC Address of a system using Angular 4
Sivakumar KonetiPosted May 27, 2019, 12:12 AM