Table of Contents

Method GetDevicePropertiesAsync

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

GetDevicePropertiesAsync(Driver, CancellationToken)

Returns the device properties for the specified driver in the Kepware server.

public Task<Docs.Device> GetDevicePropertiesAsync(Docs.Driver driver, CancellationToken cancellationToken = default)

Parameters

driver Docs.Driver
cancellationToken CancellationToken

Returns

Task<Docs.Device>

GetDevicePropertiesAsync(string, CancellationToken)

Returns the device properties for the specified driver in the Kepware server.

public Task<Docs.Device> GetDevicePropertiesAsync(string driverName, CancellationToken cancellationToken = default)

Parameters

driverName string
cancellationToken CancellationToken

Returns

Task<Docs.Device>

Exceptions

ArgumentNullException