API SSL

I’ve successfully implemented the API outlined here connecting over the regular API port of 8728

http://wiki.mikrotik.com/wiki/API_in_VB_dot_NET

Can anyone shed any light on what is required to modify the code to enable me to connect over the api-ssl service on port 8729?

can you tell me is that link for about the https ???

AFAIK, when connecting, before sending or receiving anything, you must put the TCP stream in SslStream, and then do the certificate checks with it, before moving on with normal operations. Said “normal” operations must be done on that same SslStream, so after the certificate checks, you’ll want to assign the SslStream to the “tcpStream” variable.

If you make something that works, please do post it somewhere and/or modify the wiki page.

Why are you quoting me from another topic?

EDIT:

Oh, OK.

Please delete this post too (for neatness’ sake) then. Thanks.

spammer. deleted