IoTHubMessage_IsSecurityMessage()

returns if this message is a IoTHub security message or not

Syntax

#include "azure-iot-sdk-c/iothub_client/inc/iothub_message.h"

bool IoTHubMessage_IsSecurityMessage(IOTHUB_MESSAGE_HANDLE  iotHubMessageHandle);

Parameters

  • iotHubMessageHandle Handle to the message.

Return Value

Returns true if the Message is a security message false otherwise.