Method ClientTwinProperties.GetLastUpdatedOnUtc #3155
-
The method 'ClientTwinProperties.GetLastUpdatedOnUtc()' does not exist in the most recent 2.0.0-preview003 version. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think what you are looking for is found under |
Beta Was this translation helpful? Give feedback.
-
Thank you for trying out our We've now provided dedicated twin property metadata accessors: Sample usage: ClientTwin clientTwin = await s_serviceClient.Twins.GetAsync(deviceId).ConfigureAwait(false);
DateTimeOffset? lastUpdatedOnUtc = clientTwin.Properties.Reported.Metadata.LastUpdatedOnUtc; |
Beta Was this translation helpful? Give feedback.
-
Thank you for your prompt response. It is a welcome change. |
Beta Was this translation helpful? Give feedback.
I think what you are looking for is found under
ClientTwinProperties.Metadata.LastUpdatedOnUtc
.