/// <summary> /// Get variable value /// </summary> /// <remarks> /// Get a variable node's value using its node id. The endpoint must be /// activated and connected and the module client and server must trust each /// other. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='endpointId'> /// The identifier of the activated endpoint. /// </param> /// <param name='nodeId'> /// The node to read /// </param> public static ValueReadResponseApiModel GetValue(this IAzureOpcTwinClient operations, string endpointId, string nodeId) { return(operations.GetValueAsync(endpointId, nodeId).GetAwaiter().GetResult()); }