TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
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
Forums
Monthly Leaders
Forum guidelines
sumesh np
1.4k
375
146.7k
How to get Mac Address of Client System in asp.net
May 13 2016 9:34 AM
Hello,
How to get Max Address of a client system in asp.net?
public string MacAddress()
{
NetworkInterface[] nif = NetworkInterface.GetAllNetworkInterfaces();
String MACAddress = string.Empty;
foreach (NetworkInterface adapter in nif)
{
if (MACAddress == String.Empty)
{
IPInterfaceProperties ipproperties = adapter.GetIPProperties();
MACAddress = adapter.GetPhysicalAddress().ToString();
}
}
return MACAddress;
}
When i try this code, it returns same Mac Address in different system in one network.
Please help...
Reply
Answers (
1
)
Autosuggestion in bootstrap
insert data into sql server using javascript