Table of Contents

Method GetProductInfoAsync

Namespace
Kepware.Api
Assembly
Kepware.Api.dll

GetProductInfoAsync(CancellationToken)

Gets the product information from the Kepware server which includes product name and version information. Will update the client's product info property, which can be used in other calls to avoid calling the API multiple times for the same information. Uses the /config/v1/about endpoint

public Task<ProductInfo?> GetProductInfoAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ProductInfo>

A task that represents the asynchronous operation. The task result contains the product information. ProductInfo