AdsClient.ReadDeviceInfo Method

Reads the identification and version number of an ADS server.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public DeviceInfo ReadDeviceInfo()

Return Value

Type: DeviceInfo
DeviceInfo struct containing the name of the device and the version information.

Implements

IAdsConnection.ReadDeviceInfo.

Exceptions

Exception

Condition

ObjectDisposedException

ClientNotConnectedException

Reference

AdsClient Class

TwinCAT.Ads Namespace