C-DEngine 5.105

TheThing..::..DeclareSecureProperty Method

This function allows to declare a secure Property Secure Properties are stored encrypted and can only be decrypted on nodes with the same ApplicationID and SecurityID. These properties are sent encrypted via the mesh. JavaScript clients CANNOT decrypt the value of the property!

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

Syntax


public cdeP DeclareSecureProperty(
	string pName,
	ePropertyTypes pType
)
Public Function DeclareSecureProperty ( _
	pName As String, _
	pType As ePropertyTypes _
) As cdeP
public:
cdeP^ DeclareSecureProperty(
	String^ pName, 
	ePropertyTypes^ pType
)

Parameters

pName
Type: String
pType
Type: nsCDEngine.Engines.ThingService..::..ePropertyTypes
In V3.2 only STRING can be declared secure.

Return Value