C-DEngine 5.105

TheCommonUtils..::..IsLocalhost Method

Determines whether a node ID references the current host.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool IsLocalhost(
	Guid urlGuid
)
Public Shared Function IsLocalhost ( _
	urlGuid As Guid _
) As Boolean
public:
static bool^ IsLocalhost(
	Guid^ urlGuid
)

Parameters

urlGuid
Type: Guid
Each thing, and each property of a thing, is tagged with the creating node in a field named cdeN. The node ID for a given host is found in this location: TheBaseAssets.MyServiceInfo.MyDeviceInfo.DeviceID.

Return Value

'True' when node ID refers to current host, otherwise 'False'.