HostFileChangeMonitor::UniqueId Property
.NET Framework (current version)
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.
.NET Framework
Available since 4.0
Available since 4.0
Show: