AmsNetId.TryGetLocalNetId Method

Gets the Local NetID

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

Syntax

C#

public static bool TryGetLocalNetId(
    out AmsNetId?? netId
)

Parameters

netId

Type: TwinCAT.Ads.AmsNetId.
The local AmsNetId

Return Value

Type: Boolean
true if the local NetId is determined, false otherwise.

Reference

AmsNetId Class

TwinCAT.Ads Namespace