Table of Contents

Method UpdateMqttClientAgentAsync

Namespace
Kepware.Api.ClientHandler
Assembly
Kepware.Api.dll

UpdateMqttClientAgentAsync(MqttClientAgent, CancellationToken)

Updates the specified MQTT Client agent.

public Task<bool> UpdateMqttClientAgentAsync(MqttClientAgent agent, CancellationToken cancellationToken = default)

Parameters

agent MqttClientAgent

The agent to update.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<bool>

A boolean indicating whether the update was successful.