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
Alan Bugeja
NA
5
0
C# Help me with C# !!!
Mar 21 2006 3:37 PM
Hello guys I am trying to get by code the network card name in C# by using System Managment. The code is something like this. "ManagementClass mc = new ManagementClass("Win32_NetworkAdapter"); ManagementObjectCollection moc = mc.GetInstances(); string nicCardName; foreach(ManagementObject mo in moc) { nicCardName = mo["propertyName"].ToString(); MessageBox.Show(nicCardName); } " Anyone knows the propertyName. For example the property name could be mo["MACAddress"] for the machine mac number. anyone tell me the property name for the NIC card.
Reply
Answers (
0
)
!!!Need help with binary operator
MDI project