AmsNetId.IsLocal 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: 6.0.328+39e3229

Syntax

C#

public bool IsLocal { get; }

Property Value

Type: 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