[mono-android] Retrieve MAC address instead of AndroidID

Miljenko Cvjetko mcvjetko at holisticware.net
Mon Nov 21 14:26:24 EST 2011


Hi

Few days ago the same question was asked on Monotouch mailing list, so
I sent them this info...
MAC address in Mono and .net
http://stackoverflow.com/questions/1746840/get-mac-address-in-linux-using-mono

Monotouch assemblies: System.Network.NetworkInfoemation is in...
http://docs.xamarin.com/ios/about/assemblies

but beware maybe it is removes (Silverlight restriction)
http://monotouch.2284126.n4.nabble.com/System-Net-NetworkInformation-Ping-not-supported-in-MT-td3821917.html

The guys reported it works,  but found some weird behavior on iOS and 
MonoMac -
seems like bug, but check this pls on Monotouch archive...

regards

mel

On 2011.11.21 18:37, Steve Sharrock wrote:
> I'm working with a device (Bluebird Pidion 6000) that returns null for 
> the AndroidID
> stringid 
> =Android.Provider.Settings.Secure.GetString(this.ContentResolver,Android.Provider.Settings.Secure.AndroidId 
> );
> Is there a way of getting a MAC address or some other fairly unique ID 
> that I might try on this device?
> Other than this one clitch, the device seems to run our application 
> pretty well (except for a few SqlLite exceptions that I can work around).
> Thanks,
> */Steve/*
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid


-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rjes(enja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX juz(na obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111121/a2578e24/attachment.html 


More information about the Monodroid mailing list