Ejemplo n.º 1
0
        public bool NotifyFileOpenedCallback(
            string relativePath,
            bool isDirectory,
            uint triggeringProcessId,
            string triggeringProcessImageFileName,
            out NotificationType notificationMask)
        {
            Log.Information("NotifyFileOpenedCallback [{relativePath}]", relativePath);
            Log.Information("  Notification triggered by [{triggeringProcessImageFileName} {triggeringProcessId}]",
                            triggeringProcessImageFileName, triggeringProcessId);

            notificationMask = NotificationType.UseExistingMask;
            provider.SignalIfTestMode("FileOpened");
            return(true);
        }