Property CacheLifetime
CacheLifetime
Specifies how long clients can cache this device's details for. Optional but defaults to System.TimeSpan.Zero which means no-caching. Recommended value is half an hour.
Declaration
public TimeSpan CacheLifetime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Specifiy System.TimeSpan.Zero to indicate no caching allowed.
Also used to specify how often to rebroadcast alive notifications.
The UPnP/SSDP specifications indicate this should not be less than 1800 seconds (half an hour), but this is not enforced by this library.