Just wondering if WebClient.Uploadfile
is TLS secure either by 1.1 or 1.2. I found the following line of code and have installed in my application.
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
The following line of code does the work in my application
WebClient.UploadFile("ftp://xxx.xxxx.xxx/xxxx/xxxx/" + Path.GetFileName(file), file);
Is there any way to test for security here?