I found some examples using Java, however it is difficult for me to create a method for C #. Can someone send a simple C # example that will get the Mac address of my device for Marshmallow (6.0). I understand that there are other methods for obtaining a unique identifier, I am not very interested in importing components at this time. I am using Xamarin with Visual Studio 2015.
I have these permissions active:
ACCESS_WIFI_STATE INTERNET READ_PHONE_STATE
The only codes I've tried are the simple methods used for Android version 6.0. Any help is appreciated.
EDIT: I don't think this is a duplicate, as I specifically requested code for the C # version
source
share