omega omega - 3 years ago 215
C# Question

What unit of time is the AE.Net.Mail c# library .ServerTimeout measered in?

In the AE.Net.Mail c# library, when I get the imapclient object, I get as .ServerTimeout property, which accepts an integer for time, but doesn't specify what kind it is. Does anyone know if it's in seconds, or milliseconds or something?

Thanks

Answer Source

It is in milliseconds. As it used in method Wait of System.Threading.Tasks.Task class. Here is the source line.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download