Edit

Share via


HostFileChangeMonitor.UniqueId Property

Definition

Gets an identifier for the HostFileChangeMonitor instance that is based on the set of monitored directories and file paths.

public:
 virtual property System::String ^ UniqueId { System::String ^ get(); };
public override string UniqueId { get; }
member this.UniqueId : string
Public Overrides ReadOnly Property UniqueId As String

Property Value

An identifier for the change monitor.

Remarks

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.

Applies to