Want to build the ChatGPT based Apps? Start here
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Yogendra Sahu
1.6k
550
128.7k
How to get MAC Address of system using Angular 4
May 24 2019 6:22 AM
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?
Reply
Answers (
4
)
Regarding on refresh of page global values get vanished.
how to use calender in angular without material