-
-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add property in FtpClient class to retrieve the selected SslProtocol #916
Comments
I would also use this. |
Good idea! |
39.4.0
|
I'm looking for the property SslProtocolActive in 52.0.0. Not here anymore ? How to retrieve the selected/negotiated Ssl/Tls version? |
I have no explanation as to why it was removed. I have brought it back and committed this to the current master. It will be back in the next release. |
Bring back FtpSocketStream.SslProtocolActive (see #916)
good. it should be tested, to ensure that it works. |
@marcwaz Oh, thanks for offering to do that. |
Could you just send me a sample of code in order to show me how to do a call of SslProtoclActive property after a ".connect" on a new FtpClient ? |
client.Connect();
Console.WriteLine("Selected SSL Version/Protocol " + client.SslProtocolActive); Result:
using the current master on GitHub. |
Actually more even: client.Connect();
Console.WriteLine("Selected SSL Version/Protocol " + client.SslProtocolActive);
Console.WriteLine("Selected SSL Ciphersuite " + client.SslCipherSuiteActive); Result:
using the current master on GitHub. |
I don't know when the next version of FluentFTP (v52.1?) will be released. Is it possible to push a beta nuget ? I need the FluentFTP .net472 framework dll (compile in release mode) in order to do the tests. I don't have the necessary environnement in order to compile the master FluentFTP sources. thanks |
Making a new (interim) release is solely at @robinrodricks discretion. |
FTP OS: All
FTP Server: All
Computer OS: All
FluentFTP Version: Future release
Framework: All
Could it be possible for one of the next updates of FluentFTP to have the possibility to retrieve the selected/negotiated Ssl/Tls version?
I did it myself by adding the FluentFtp source code project to my solution. It is quite easy. The following files need to be expanded with a simple property:
In
FtpClientProperties.cs
In
FtpSocketStream.cs
I would like to have this to inform the user about which protocol has been negotiated.
The text was updated successfully, but these errors were encountered: