How can I connect to server using SSL(secure socket layer) on .NET Compact Framework
- by net
Hello.
I want to change .NET framework v3.5 to .NET compact framework v3.5.
But I can't change SSL Stream class to compact framework version.
For resolving this problem, I already read some article and msdn library.
http://blogs.msdn.com/cgarcia/archive/2009/08/21/enable-ssl-for-managed-socket-on-windows-mobile.aspx
http://blogs.msdn.com/cgarcia/archive/2009/08/22/getting-a-managed-socket-to-talk-ssl.aspx
http://msdn.microsoft.com/en-us/library/aa916117.aspx
but I got an error that is "Unkown error 0x0ffffff", when invoking 'socket.connect(endPoint)' method based on thease article.
In order to find the proper method, I try to use TcpClient class. but i can't solve this problem.
When I try to connect to server on .NET compact framework, TcpClient class didn't work(Smart Device project and windows ce).
As you can see below, I've got the error. In other hand, this code is work on .NET framework(C# console project).
I can't understand why this socket can not access to server.
Thanks for reading my question.