コード例 #1
0
ファイル: FtpClientProxy.cs プロジェクト: elmar69/FluentFTP
 /// <summary> Redefine connect for FtpClient : authentication on the Proxy  </summary>
 /// <param name="stream">The socket stream.</param>
 protected override void Connect(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions)
 {
     stream.Connect(Proxy.Host, Proxy.Port, InternetProtocolVersions);
 }
コード例 #2
0
 /// <summary> Redefine connect for FtpClient : authentication on the Proxy  </summary>
 /// <param name="stream">The socket stream.</param>
 protected override void Connect(FtpSocketStream stream)
 {
     stream.Connect(Proxy.Host, Proxy.Port, InternetProtocolVersions);
 }