Constructor SessionRecord
SessionRecord(string, IPAddress?, DateTime, TimeSpan, int, bool)
Initializes a new instance of the SessionRecord class.
Declaration
public SessionRecord(string device, IPAddress? ipAddress, DateTime refreshedUtc, TimeSpan validFor, int generation, bool isPersistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | device | The device that last refreshed the session. |
| IPAddress | ipAddress | The IP address that last refreshed the session, or null if it is not known. |
| DateTime | refreshedUtc | The date and time when the session was last refreshed (in UTC). |
| TimeSpan | validFor | The amount of time after the last refresh that the session remains valid. |
| int | generation | The generation of the session. |
| bool | isPersistent | A value indicating whether the session is persistent. |