Click or drag to resize

IDetectConnectionServiceDetectConnectionAsync Method

Detect whether Protocol.Open is likely to succeed. May involve connecting briefly to the PLC.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
Task<Detected> DetectConnectionAsync(
	bool sync
)

Parameters

sync
Type: SystemBoolean
If true, the Task returned is guaranteed to be complete.

Return Value

Type: TaskDetected
Detection result.
Remarks

Should include detecting whether the required software/hardware is installed, the connection parameters, and (optionally, if possible) whether the PLC can be reached.

Normally called with the connection open.

See Also