WinSCP启动速度慢? [英] WinSCP slows in start up?

查看:436
本文介绍了WinSCP启动速度慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 WinSCP .NET程序集中尝试了C#示例[ ^ ]。我发现在第一个声明之前需要大约30秒。



我在Main()函数中注释掉所有内容。我放回了一个WriteLine('Done')。即使使用WinSCP语句,程序立即返回。



然后我取消注释SessionOptions()对象的初始化。该程序在30秒左右后返回。



为什么会这样?可以减少等待时间吗?



我已经问过WinSCP论坛,但还没有回复。

I try the C# example in WinSCP .NET Assembly[^]. I find out it takes about 30 seconds before the first statement.

I comment out everything inside the Main() function. I put back a WriteLine('Done') in. Even with the using WinSCP statement, the program returns immediately.

I then uncomment the initialization of SessionOptions() object. The program returns after 30 seconds or so.

Why is that? Can the waiting time be reduced?

I have already asked the WinSCP forum, but no response yet.

推荐答案

这篇关于WinSCP启动速度慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆