IAdsConnection.ReadDeviceInfo Method

Reads the identification and version number of an ADS server.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

DeviceInfo ReadDeviceInfo()

VB

Function ReadDeviceInfo As DeviceInfo

Return Value

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

Exceptions

Exception

Condition

AdsErrorException

Thrown when the ADS call fails.

Reference

IAdsConnection Interface

TwinCAT.Ads Namespace