This topic has not yet been rated - Rate this topic

HostFileChangeMonitor.LastModified Property

Gets a read-only value that indicates the last write time of a monitored file or path.

Namespace:  System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)
public override DateTimeOffset LastModified { get; }

Property Value

Type: System.DateTimeOffset
The last write time of a monitored file or path.

If a file-change monitor is monitoring multiple files or paths, this property returns the most recent write time in the set of all files and paths.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ