开发者

How can I connect to server using SSL(secure socket layer) on .NET Compact Framework

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/arch开发者_如何学Goive/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.

How can I connect to server using SSL(secure socket layer) on .NET Compact Framework

How can I connect to server using SSL(secure socket layer) on .NET Compact Framework

Thanks for reading my question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜