Beispiel #1
0
 private void OnChanged(object source, FileSystemEventArgs e)
 {
     if (e.ChangeType == WatcherChangeTypes.Changed)
     {
         host.UpdateMetadata(new DiscoveryMetadata(SubsystemCommInfo.BroadcastMetaDataAssemblyTag,
                                                   File.GetLastWriteTime(e.FullPath).ToString("yyyy-MM-dd_h-m-s-fff")));
     }
 }