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 in IoT (Internet of Things) by Upasana
• 8,570 points
105 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 by Shubham
• 13,350 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
142 views
0 votes
1 answer

Autostart published Application on Windows 10 IoT

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

answered Jul 12, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
203 views
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,570 points
331 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
111 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,350 points
86 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,350 points
48 views