March 2018
Beginner to intermediate
410 pages
10h 40m
English
Now that we know the address of the Thing Registry, we must create a ThingRegistryClient object to communicate with it:
private async Task RegisterDevice(string RegistryJid)
{
if (this.registryClient == null ||
this.registryClient.ThingRegistryAddress != RegistryJid)
{
if (this.registryClient != null)
{
this.registryClient.Dispose();
this.registryClient = null;
}
this.registryClient = new ThingRegistryClient(
this.xmppClient, RegistryJid); }
Read now
Unlock full access