Gets the date and time that the ServicePoint object was last connected to a host.
Assembly: System (in System.dll)
The following code example uses the property to set and retrieve the date and time that the ServicePoint object was last connected to a host.
// Display the date and time that the ServicePoint was last // connected to a host. Console.WriteLine ("IdleSince = " + sp.IdleSince.ToString ()); // Display the maximum length of time that the ServicePoint instance // is allowed to maintain an idle connection to an Internet // resource before it is recycled for use in another connection. Console.WriteLine ("MaxIdleTime = " + sp.MaxIdleTime);
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.