packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Shell/ShellObjectWatcher/ShellObjectWatcher.cs
/// <summary>
/// Stop the watcher and prevent further notifications from being received.
/// <remarks>If the watcher is not running, this has no effect.</remarks>
/// </summary>
Stop the watcher and prevent further notifications from being received.
If the watcher is not running, this has no effect.
Stop the watcher and prevent further notifications from being received . If the watcher is not running this has no effect .
public void Stop()
        {
            if (!Running) { return; }
            if (_registrationId > 0)
            {
                ShellNativeMethods.SHChangeNotifyDeregister(_registrationId);
                _registrationId = 0;
            }
            Running = false;
        }
public void Stop ( ) { if ( ! Running ) { return ; } if ( _registrationId > 0 ) { ShellNativeMethods . SHChangeNotifyDeregister ( _registrationId ) ; _registrationId = 0 ; } Running = false ; }
Stop the watcher and prevent further notifications from being received.
Stop the watcher and prevent further notifications from being received .