简体   繁体   中英

install SSL Cert in client machine programmatically using C#

I've developed a Desktop application using c# which consume WCF on remote server over the internet i need to secure the communication between WCF Server and the Desktop Application (client) using SSL. my question is how to install SSL in client machine automatically or by some Code when client installs my application. thanks in advance .

What I understood from your above comments that you want to secure the data flowing b/w the channels.

This can be achieved through c# code - by including the *.cert file as a part of your project and passes in X509Certificate2 class .ctor.

for details, please refer to previous smiliar post -

Problem SSL Certificate C#

hope this helps you !!

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM