Created
June 29, 2018 05:21
-
-
Save WasserEsser/5215f8892b7056d7000b5053c3561fd5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
foreach (var networkInterface in NetworkInterface.GetAllNetworkInterfaces()) | |
{ | |
if (networkInterface.Name.Equals("wlan0")) | |
{ | |
Identifier = networkInterface.GetPhysicalAddress().ToString(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment