Hi,,
I have been working on windows phone platform since 2 months. I am working on Visual studio 2012 IDE and .Net Framework 4.5 . I would like to open a discussion on Mac Address that's bothering me since a while. I have used DeviceExtendedProperties class to get the device unique ID. I would like to know whether the same class can be used to extract the mac address . If it is not possible , would you please tell me another method or API for retieving the mac address. Any kind of help would be greatly appreciated.
Thanks,
Aswathy.
Aswathy ADPosted Jul 12, 2013, 8:30 AM
I found the namespace in console application. Using ManagementClass class It was able to retrieve the Physical address of the machine. Is there any other way to obtain the mac id of the phone ? Or Can we use the .exe created by this console application on windows phone application. Like "DLLImport" function . If so pls help me to solve this issue.
thanks,
Aswathy.
Aswathy ADPosted Jul 12, 2013, 7:19 AM
Thanks for ur speedy reply. I have used System.Management namespace. But I am getting following error
Error: The type or namespace name 'Management' does not exist in the namespace 'System' (are you missing an assembly reference?) .
Because of that I couldn't use the class ManagementClass .
I couldn't find System.Management dll in my environment. From where shall I download the dll file. Please guide me regarding this. Once again thanks for showing interest in our post .Waiting for ur reply.
thanks,
Aswathy.
Sanjeeb LenkaPosted Jul 12, 2013, 6:43 AM
http://stackoverflow.com/questions/16858383/windows-phone-8-mac-address
http://kishor-naik-dotnet.blogspot.in/2011/06/cnet-get-mac-address-through-cnet.html