TMiTeC_EventLog retrieves Windows Event Log messages for given source


MSI_EventLog.pas


TObject → TPersistent → TComponent → TMiTeC_Component → TMiTeC_EventLog

Methods

Sort

public


Backup

public

Backups specified EventLog container to specified evt file

ClearLog

public

Clears specified EventLog container


Properties

ContainerCount

published, read-only

Cardinal


Containers[Index: Integer]

public, read-only

TLogContainer


LookupSID

published

Boolean


RecordCount

published, read-only

Cardinal


Records[Index: Integer]

public, read-only

TLogRecord


SourceFilter

published

string


SourceName

published

string


ForceOldAPI

published

boolean

forces using old API on Windows Vista and newer

Username

published

string

credentials for connecting to remote machine for new WinEvt API

Domain

published

string

credentials for connecting to remote machine for new WinEvt API

Password

published

string

credentials for connecting to remote machine for new WinEvt API

NewAPIAvailable

public

boolean

True if Windows Event Log API is available (Windows Vista and newer)

ExpandMessages

public

boolean

If True Event Log messages are expanded (slower)


Events

OnReadEventLog

public

TOnReadEventLog


OnExpandMessage

public

TOnExpandMessage


See Also

Demo 12

demo

MSIX

application

Created with the Personal Edition of HelpNDoc: Streamline Your Documentation Creation with a Help Authoring Tool