Send a message to zabbix directly by the .net code as we do using zabbixSender.exe
First you need to create a zabbix trapper item on Zabbix [https://www.zabbix.com/documentation/3.2/manual/config/items/itemtypes/trapper]
Then test this app ;)
Enjoy, F.