I am implementing a heatingcontroller on an ESP32, for that I have several classes (TemperatureSensor, Thermostat, ValveController etc.) because there may be more than one of each I want to give each one a unique ID. I would liek to do that using tjhe Guid class, but I want it to include the ESP 32 device ID, so that I have globally unique ID's for each class instance, that can be tied to the hardware device that the class has been instantiated on.
My question is how I can access the device ID in Nanoframework?
So far, I got stuck writing the code because I cannot find a way access the ESP32's ID
Have u considered using the MacAdress of the device ?
Which nanoFramework device are you using exactly, according to the nanoFramework Docs, there are some devices which support chipID out of the box.