FileAssociation/ShellNotification.cs
/// <summary>
/// Notify shell of change of file associations.
/// </summary>
Notify shell of change of file associations.
Notify shell of change of file associations .
public static void NotifyOfChange()
      {
         SHChangeNotify(
             (uint)ShellChangeNotificationEvents.SHCNE_ASSOCCHANGED,
             (uint)(ShellChangeNotificationFlags.SHCNF_IDLIST | ShellChangeNotificationFlags.SHCNF_FLUSHNOWAIT),
             IntPtr.Zero,
             IntPtr.Zero);
      }
public static void NotifyOfChange ( ) { SHChangeNotify ( ( uint ) ShellChangeNotificationEvents . SHCNE_ASSOCCHANGED , ( uint ) ( ShellChangeNotificationFlags . SHCNF_IDLIST | ShellChangeNotificationFlags . SHCNF_FLUSHNOWAIT ) , IntPtr . Zero , IntPtr . Zero ) ; }
Notify shell of change of file associations.
Notify shell of change of file associations .