AmsNetIdIsLocal Property

Determines, whether the AmsNetId is the Address of the local system (or the LocalHost address).


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public bool IsLocal { get; }

Property Value

Boolean
true if this instance is local; otherwise, false.

Remarks

True is also returned for the local host AmsNetId. Comparing the AmsNetId doesn't include the SubNetIds (Byte-Indices 4 and 5), what means SubNetIds are ignored.

Reference

AmsNetId Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026