Asp Net C# Sslstream Alternative

555 Views Asked by At

I'm using .net 1.1 and I can't upgrade.

Is there some alternative (in .net 1.1) to connect a client to a mainframe 3270 using SSL? just with .net 1.1 libraries or cs files without installing anything?

I tried the open3270 library and I can connect without SSL. But when SSL is required, the connection is lost.

code from open3270 library that does not work...

 if (this.Config.UseSSL)
 {
   NetworkStream mNetworkStream = new NetworkStream(socketBase, false);                     
 SslStream ssl = new SslStream(mNetworkStream, false, new                      RemoteCertificateValidationCallback(cryptocallback));
        ssl.AuthenticateAsClient(this.address);
        this.socketStream = ssl;
 }

...

0

There are 0 best solutions below