Configure a Push Agent
Add the Push Agent NetLogic from and configure the parameters of the Push Agent.
Template Libraries
Prerequisites
- TIP: You can check the required libraries versions in the Push Agent description inTemplate Libraries.
- To configure a Push Agent
- From the main toolbar, selectTemplate Libraries
- InTemplate Libraries, search forPush Agent.
- UnderComponents, dragPush Agentonto NetLogic inProject view.
- SelectClose.
- InProject view, selectPush Agent.
- InProperties, edit the Push Agent properties.For more information, see Push Agent properties.
- InProject view, double-clickPush Agent.An external editor opens in a separate tab.
- Build the project.
- Generate CA and client certificates. See Create a certificate.IMPORTANT: Use the newest OpenSSL library and encryption algorithm supported in .NET to generate the PFX certificates. If you use the RC2 algorithm to generate the PFX certificate, certificate-based authentication for Azure IoT Hub fails on the terminal.
- Implement the PushAgent NetLogic into the application interface. See Push Agent interface.
Provide Feedback