HostFileChangeMonitor.UniqueId Property
Gets an identifier for the HostFileChangeMonitor instance that is based on the set of monitored directories and file paths.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
The string that makes up the UniqueId property value is constructed from the following parts:
-
A file or directory path.
-
The most recent write time in UTC time, measured as ticks but represented as a hexadecimal string.
-
The file size, represented as a hexadecimal string.
If a file change monitor is monitoring multiple paths, the information returned by this property is concatenated into a single string for all the monitored directories and file paths.
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.