Windows IoT on Raspberry Pi Unique Identifier

0 votes

I'm looking for a solution to get 2 unique strings on the RPI with Windows IoT. The strings should be unchanged after reboot. It should be something like a Hardware ID to identify a device.

Mar 8, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
981 views

1 answer to this question.

0 votes

Try getting the MAC address of your network.

var macAddr = 
    (
        from nic in NetworkInterface.GetAllNetworkInterfaces()
        where nic.OperationalStatus == OperationalStatus.Up
        select nic.GetPhysicalAddress().ToString()
    ).FirstOrDefault();
answered Mar 8, 2019 by Shubham
• 13,490 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Windows 10 IoT Raspberry Pi 2: DHT22/AM2302

DHT22 requires very precise timing. Although Raspberry ...READ MORE

answered Oct 29, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,135 views
0 votes
1 answer

Autostart published Application on Windows 10 IoT

It can be done by making changes ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,762 views
0 votes
1 answer
0 votes
1 answer

How to deploy Windows 10 IoT (Rasp Pi image) as a Virtual Machine

The easiest way I found is downloading ...READ MORE

answered Sep 10, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
3,139 views
+1 vote
1 answer

Configuring Raspberry Pi with Windows 10 IoT App using Rest API

You should use HttpClient instead of WebClient. Try ...READ MORE

answered Oct 10, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
896 views
0 votes
1 answer

Issue with connection on Watson IoT Out node on Raspberry Pi

The frequent disconnects could be due to ...READ MORE

answered Dec 20, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
900 views
0 votes
1 answer

Sending keys in Windows 10 IoT

Sorry, but it is not allowed in ...READ MORE

answered Dec 4, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
874 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP