System.Net.ServicePoint.IdleSince Property

Gets the date and time that the System.Net.ServicePoint object was last connected to a host.

Syntax

public DateTime IdleSince { get; }

Value

A DateTime instance containing the date and time at which the System.Net.ServicePoint was last connected.

Remarks

The ServicePoint.IdleSince property records the last date and time at which a service point was disconnected from a host. When the difference between the current time and ServicePoint.IdleSince exceeds the value of ServicePoint.MaxIdleTime, the System.Net.ServicePoint object is available for recycling to another connection.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0