Im working on WinCE 2013 and want to use mqtt protocol with SSL/TLS. But it seems like that the SSL StreamCLass is not supported in .Net CF3.9. Could anyone please let me know if there is anyway the SSL/TLS can be enabled in .NCF3.9 for communication. I want to use the SSL Stream class and the
using System.Net.Security;
using System.Security.Authentication;
but couldnt do so...
看看: https ://m2mqtt.wordpress.com/ 这是一个随时可用的 MQTT 实现,如果它不符合您的需求,您至少可以看看 SSL 在 .NET CF 中是如何实现的。
In order to enable SSL/TLS on M2Mqtt you need to define SSL symbol. For example, if you see the Net MF 4.3 project file ( https://github.com/eclipse/paho.mqtt.m2mqtt/blob/master/M2Mqtt/M2Mqtt.NetMf43.csproj ) there is this section :
<DefineConstants>DEBUG;TRACE,MF_FRAMEWORK_VERSION_V4_3,SSL</DefineConstants>
As you can see there is the SSL symbol. It enables the build with SSL support.
I added OPENSSL suppport for Compact Framework 2.0 / 3.5 / 3.9 in M2MQTT library. Check https://github.com/bpastore/paho.mqtt.m2mqtt/tree/dev
I am having the same issue in NETCF3.5 and when I tried to open this link for the solution it is now gone:
I added OPENSSL support for Compact Framework 2.0 / 3.5 / 3.9 in M2MQTT library. Check https://github.com/bpastore/paho.mqtt.m2mqtt/tree/dev
I am running WEC7 with netcf3.5 but I need to add encryption. Anybody help on this???
Thanks in advance, Jeff
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.