Click or drag to resize

ShellChangeNotifier Class

Use this component to get information about changes in the file system (copy, move or delete operations) and other changes relevant for shell operations.
Inheritance Hierarchy

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public class ShellChangeNotifier : Component, 
	IShellChangeNotifier, ISupportInitialize

The ShellChangeNotifier type exposes the following members.

Constructors
  NameDescription
Public methodShellChangeNotifier
Initializes a new instance of the ShellChangeNotifier class.
Top
Properties
  NameDescription
Public propertyDirectories
The directories to receive change notifications for. Leave empty to receive change notifications for the whole file system.
Public propertyEnabled
Set to true to enable listening to change notifications.
Public propertyEventFilter
Allows to define which shell change events should be reported.
Public propertyRecursive
Set to true, if change notifications for subfolders are desired as well.
Public propertyVersion
The current version of the ShellBrowser.
Public propertyWatchDrives
Determines if "This PC" shall be watched recursively if no other directories are given.
Top
Methods
  NameDescription
Public methodAddItemIdList(ItemIdList)
Subscribes for notifications in the passed folder using current settings for Recursive and EventFilter.
Public methodAddItemIdList(ItemIdList, Boolean, NotificationEvents)
Subscribes for notifications in the passed folder using the passed settings.
Public methodBeginInit
Signals the object that initialization is starting.
Public methodBeginUpdate
Begins an update of a ShellChangeNotifier configuration.
Public methodClear
Removes all directories from the Directories property and so watches the entire file system again.
Protected methodDispose
Remove reference to the ChangeNotifierCallBackForm
(Overrides ComponentDispose(Boolean).)
Public methodEndInit
Signals the object that initialization is complete.
Public methodEndUpdate
Ends an update.
Public methodIsUpdating
Public methodOnChange
Fires the OnChange event, when something happened in the monitored directories.
Public methodOnChangePIDL
Fires the OnChange event, when something happened in the monitored directories.
Public methodRemoveItemIdList
Unregisters the folder given.
Public methodRestart
Restarts the change notifier if it is already started
Public methodStatic memberSendChangeNotify(NotificationEvents, String)
Sends a shell change notification to the system that informs other processes about a achange.
Public methodStatic memberSendChangeNotify(NotificationEvents, String, String)
Sends a shell change notification to the system that informs other processes about a achange.
Protected methodStart
Starts monitoring the paths in the Directories property
Protected methodStop
Stops monitoring the paths in the Directories property
Top
Events
  NameDescription
Public eventChange
This event is fired when a change event was fired from the system for one of the monitored paths in the Directories property.
Public eventChangePIDL
This event is fired when a change event for the given ItemIdList list of the given paths in the Directories property occured.
Top
Remarks
Use the Directories property to decide which parts of the shell namespace will be watched for changes, or add ItemIdLists via AddItemIdList(ItemIdList).
See Also