Hello all,
How this Timeout option is useful ?
When i am going for WMI connection i have given this Timeout option , Still for connection is taking 5 to 6 seconds.
ConnectionOptio ns.Timeout = new TimeSpan(0, 0, 2);
Actually in this case, According to my knowledge on TimeOut property ,It should get WMI connection success or failure with in 2 seconds, but still it is taking time up to 5 seconds.
With out this timeout option also observed the same time taken for WMI connection.
Please any one tell me, In which respective the timeout option will be useful.
How this Timeout option is useful ?
When i am going for WMI connection i have given this Timeout option , Still for connection is taking 5 to 6 seconds.
ConnectionOptio ns.Timeout = new TimeSpan(0, 0, 2);
Actually in this case, According to my knowledge on TimeOut property ,It should get WMI connection success or failure with in 2 seconds, but still it is taking time up to 5 seconds.
With out this timeout option also observed the same time taken for WMI connection.
Please any one tell me, In which respective the timeout option will be useful.
Comment