Created
December 8, 2015 12:50
-
-
Save dijeferson/546050425d8b9b25f37c to your computer and use it in GitHub Desktop.
Gerando um UniqueID por dispositivo no Windows Phone 8.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var networkProfiles = Windows.Networking.Connectivity.NetworkInformation.GetConnectionProfiles(); | |
var adapter = networkProfiles.First<Windows.Networking.Connectivity.ConnectionProfile>().NetworkAdapter; | |
string networkAdapterId = adapter.NetworkAdapterId.ToString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment