March 2018
Beginner to intermediate
410 pages
10h 40m
English
Now that we have the metadata information we require for the device, it's an easy task to register it with the Thing Registry. We simply call the RegisterThing method on the thing registry client and monitor the success of the operation in the result.
The first parameter in the RegisterThing() method call is a Boolean parameter that lets the registry know if the thing is self-owned or not. A device that is self-owned makes its own security decisions. For now, we will work with self-owned devices, so we set this parameter to true. In the next chapter, we will introduce the concept of provisioning, where the owner of a device can control who can access the device and do what with it:
private void RegisterDevice(MetaDataTag[] ...
Read now
Unlock full access