Questions tagged [sslstream]

.NET class that provides a stream used for client-server communication that uses TLS/SSL security protocols to authenticate the server and optionally the client.

Documentation: https://msdn.microsoft.com/en-us/library/system.net.security.sslstream.aspx

231 questions
0
votes
1 answer

How to get the latest mail from hotmail account using TcpClient and SslStream

I have created a windows test app in which i am connecting to my hotmail account and checking the unread mails there.Currently through my app ,i m getting the last mail from my hotmail account. How can i get the latest mail and whether is it…
Vipin Nair
  • 517
  • 4
  • 9
  • 33
0
votes
0 answers

SslStream error when try to execute "read"

I have some function thats create a TCP/IP (IPv4) socket and listen for incoming connections. private string RunServer(string certificate) { string messageData = ""; X509Certificate2 cert = new X509Certificate2(@"C:\a.p12",…
user1175338
  • 79
  • 3
  • 11
-1
votes
1 answer

Encrypt Socket Connection

I'm trying to encrypt the data going over a socket connection. I am developing a server and the client software, which I will be distributing. I'm using TcpClient in .NET for my socket connections. Is the best way to do this to use a SSLStream? I…
user185813
  • 481
  • 1
  • 5
  • 16
-1
votes
1 answer

How to avoid Memory leak in .NET SSLStream

I have designed an SSL Server in VB.NET. However, when I receive multiple TCP requests (10s per second) to my server, I get a memory leak. Means memory increases every time I receive a request. Procedure to simulate error: Listen to HTTPS (443)…
-1
votes
1 answer

SslStream.Read returns 0 on connected socket

there is an interface IStream to abstract NetworkStream and SslStream. With NetworkStream everything is fine while with SslStream having problems on Read method. This is how I establish Ssl stream: class SecureStream : SslStream, IStream { …
Jonas
  • 4,683
  • 4
  • 45
  • 81
-2
votes
1 answer

How to send List> in SslStream

I want to send List> through SslStream. We can send this using Socke.Send but i want SSL security.
Ravindra
  • 39
  • 4
1 2 3
15
16