コード例 #1
0
        /*#region Constructor & Destructor
         #endregion*/

        #region Methods
        /// <summary>
        /// </summary>
        /// <returns></returns>
        public override EventList EventNames()
        {
            EventList list = new EventList();

            EventListRow row = list.NewEventListRow();

            row.Name        = "ProcessCreated";
            row.Text        = "Process created";
            row.Description = "A new process was created";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            return(list);
        }
コード例 #2
0
        public override EventList EventNames()
        {
            EventList    list = new EventList();
            EventListRow row  = list.NewEventListRow();

            row.Name        = "NetworkAvailabilityChanged";
            row.Text        = "Network availability changed";
            row.Description = "The availability of the network changed";
            row.Type        = Manager.EventTypes.ChangingValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "NetworkAddressChanged";
            row.Text        = "Network address changed";
            row.Description = "The IP address of a network interface changed";
            row.Type        = Manager.EventTypes.ChangingValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "NetworkInterfaceAdded";
            row.Text        = "Network Interface added";
            row.Description = "A new network interface was detected";
            row.Type        = Manager.EventTypes.ChangingValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "NetworkInterfaceRemoved";
            row.Text        = "Network Interface removed";
            row.Description = "A network interface was removed";
            row.Type        = Manager.EventTypes.ChangingValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "IPAddressChanged";
            row.Text        = "IP address changed";
            row.Description = "The IP address of a specific network interface was changed";
            row.Type        = Manager.EventTypes.ChangingValue;
            list.AddEventListRow(row);

            return(list);
        }
コード例 #3
0
        public override EventList EventNames()
        {
            EventList list = new EventList();

            #region done
            EventListRow row = list.NewEventListRow();
            row.Name        = "InstalledFontsChanged";
            row.Text        = "Installed fonts changed";
            row.Description = "The user added fonts to or removed fonts from the system.";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "FontAdded";
            row.Text        = "Font added";
            row.Description = "The user added a font to the system";
            row.Type        = Manager.EventTypes.SingleValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "FontRemoved";
            row.Text        = "Font removed";
            row.Description = "The user removed a font from the system";
            row.Type        = Manager.EventTypes.SingleValue;
            list.AddEventListRow(row);



            row             = list.NewEventListRow();
            row.Name        = "PowerModeChanged";
            row.Text        = "Power mode changed";
            row.Description = "The user suspends or resumes the system";
            row.Type        = Manager.EventTypes.SingleValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "Suspend";
            row.Text        = "Suspend";
            row.Description = "The user suspends the system";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "Resume";
            row.Text        = "Resume";
            row.Description = "The user resumes the system";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);



            row             = list.NewEventListRow();
            row.Name        = "SessionEnding";
            row.Text        = "Session ending";
            row.Description = "The user is trying to log off or shut down the system";
            row.Type        = Manager.EventTypes.SingleValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "Logoff";
            row.Text        = "Log off";
            row.Description = "The user is trying to log off";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "Shutdown";
            row.Text        = "Shut down";
            row.Description = "The user is trying to shut down the system";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);



            row             = list.NewEventListRow();
            row.Name        = "SessionSwitch";
            row.Text        = "Session switch";
            row.Description = "The currently logged-in user has changed";
            row.Type        = Manager.EventTypes.SingleValue;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "ConsoleConnect";
            row.Text        = "Console connect";
            row.Description = "A session has been connected from the console";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "ConsoleDisconnect";
            row.Text        = "Console disconnect";
            row.Description = "A session has been disconnected from the console";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "RemoteConnect";
            row.Text        = "Remote connect";
            row.Description = "A session has been connected from a remote connection";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "RemoteDisconnect";
            row.Text        = "Remote disconnect";
            row.Description = "A session has been disconnected from a remote connection";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "SessionLock";
            row.Text        = "Session locked";
            row.Description = "A session has been locked";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "SessionLogoff";
            row.Text        = "Session logged off";
            row.Description = "A user has logged off from a session";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "SessionLogon";
            row.Text        = "Session logged on";
            row.Description = "A user has logged on to a session";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "SessionRemoteControl";
            row.Text        = "Session remote controlled mode changed";
            row.Description = "A session has changed its status to or from remote controlled mode";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "SessionUnlock";
            row.Text        = "Session unlocked";
            row.Description = "A session has been unlocked";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);



            row             = list.NewEventListRow();
            row.Name        = "PaletteChanged";
            row.Text        = "Palette changed";
            row.Description = "The user switched to an application that uses a different palette.";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);



            #endregion

            row             = list.NewEventListRow();
            row.Name        = "AAAA";
            row.Text        = "AAAA";
            row.Description = "AAAAAAAAAAAAAAA";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "AAAA";
            row.Text        = "AAAA";
            row.Description = "AAAAAAAAAAAAAAA";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            row             = list.NewEventListRow();
            row.Name        = "AAAA";
            row.Text        = "AAAA";
            row.Description = "AAAAAAAAAAAAAAA";
            row.Type        = Manager.EventTypes.Simple;
            list.AddEventListRow(row);

            return(list);
        }
コード例 #4
0
ファイル: EventList.cs プロジェクト: Jonny007-MKD/Trigger4Win
 internal EventListRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableEventList = ((EventList)(this.Table));
 }