Session.Connection Property

Gets the (established) connection.

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

Syntax

C#

public IConnection? Connection { get; protected set; }

Property Value

Type: IConnection
The IConnection if connection established, or null if not connected.

Implements

ISession.Connection

Reference

Session Class

TwinCAT Namespace