I am using the API:
RegistryManager.UpdateTwinAsync(string deviceId, Twin twinPatch, string etag);
However, it need to call device's twin first:
Twin twin= await _registryManager.GetTwinAsync(deviceId);
var etag = twin.Etag
So I need to 2 I/O call, that decreases application performance.
Is there any way to set device's twin without getting Etag first?
Thanks,