ITcSysManager2::GetTargetNetId

The GetTargetNetId() method returns the NetId of the current TwinCAT system.

HRESULT GetTargetNetId(); 

Parameters

None

Return Values

STRING

returns target's NetId