SureView.Services
Maintains server cache with database
Decoder for the extra value.
Initializes a new instance of the ServerSync class, specifying a data access module and a list of server types to sync.
Data access class
List of server type IDs to sync
Initializes a new instance of the ServerSync class, using a SQL connection string and a list of server types to sync.
SQL connection string to database
List of server type IDs to sync
Starts the periodic sync
Stops periodic syncing
Will sync once
Retrieves servers with matching ID number
Server ID to match
If true, if the server ID is not found, will throw an exception. If false, will return null.
Matched server
Finds a list of servers that match the given host value.
Host to match
List of matching servers
Finds a list of servers that match the given extra value value.
ExtraValue to match
List of matching servers
Finds a list of servers that match a given predicate
Action from server to bool
List of matching servers
Occurs when a server is newly added
Occurs when a server has been modified
Occurs when a server is removed
Occurs when the sync is beginning
Occurs when the sync has successfuly finished.
Occurs when there is an error syncing
Specifies time interval between syncs
Authentication type for HTTP auth
Basic
Digest
Basic and Digest
A simple RSS reader class designed to check a specified RSS document at
specified intervals and raise out new posts as events.
A simple RSS reader class designed to check a specified RSS document at
specified intervals and raise out new posts as events.
Frequency to update (in seconds)
Password for HTTP basic auth
Username for HTTP basic auth
Type of authentication
A simple RSS reader class designed to check a specified RSS document at
specified intervals and raise out new posts as events.
Frequency to update (in seconds)
Start the reader
Stop the reader
Event raised when a new RSS post is received.
Event raised when an error occurs.
Delegate type for the OnNewRssPostReceived event.
Sender object
Text of the new item.
Delegate type for OnError event.
Sender object
Error text
Received event arguments.
Initialize a new instance of the class.
Endpoint.
Gets a string representation of the object.
A string representation of the object.
Gets the endpoint of the connection.
Connection received event arguments.
Initializes a new instance of the class.
The remote endpoint of the connection
Whether the remote endpoint is a known IP.
Gets a string representation of the object.
A string representation of the object.
Gets whether the remote endpoint is a known IP.
Data received event arguments.
Initializes a new instance of the class.
End point.
Received data.
Gets a string representation of the object.
A string representation of the object.
Gets the received data.
Data receive error event arguments.
Initializes a new instance of the class
Endpoint.
Received data.
Error that occurred.
Gets a string representation of the object.
A string representation of the object.
Gets the error.
Alarm decoded event arguments.
Initializes a new instance of the class.
Endpoint.
Received data.
The alarm that was decoded.
The result of processing the alarm.
Gets a string representation of the object.
A string representation of the object.
Gets the alarm that was decoded.
Gets the result of processing the alarm.
Alarm receiver service interface.
Author: Paul Roberts
Created: 07-01-2008
Starts the receiver.
Stops the receiver.
Gets or sets the data source.
Raised when a connection is made.
Raised when data is received.
Raised when an alarm has been decoded.
Raised when an error occurs during data receiving.
Raised when an error occurs during alarm decoding.
Monitor class
Variable for showing whether the monitors are running
Last time data was retrieved from the database
Constructor (entry point) for the abstract monitor class
Starts the monitor
Stops the monitor
Checking cached data lifespan
Maximum time to keep cached data
If data should be refreshed
Performs all checks
List of CheckResults
Performs a single check
Result of check
Stops the running thread which has started the individual monitors
Variable for showing whether the monitors are running
Additional actions performed when monitor is triggered
If this monitor should not get the default alerts added
Hide monitor from being returned
Monitor's name
Millisecond delay between checks
If last check resulted in failure
Last time alerts where sent
Minimum time between alerts
A more descriptive message of why the monitor has failed
Status' definition for use with CPUMonitor and MemoryMonitor
Normal state
End User threshold has been broken state
Videowall threshold has been broken state
Maximum threshold has been broken state
Results of performing a check
Constructor always returns Pass = true
Constructor for a failed item
A single line description that will become the FailHeader
A multi-line detailed description that will become the FailDetails
True or false variable to show the Pass status
A single line description
A multi-line detailed description
An email.
Author: Paul Roberts
Created: 11.10.2007
plain text Content-Type.
html Content-Type.
multipart Content-Type.
multipart Content-Type boundary definition.
7bit Content-Transfer-Encoding.
quoted-printable Content-Transfer-Encoding.
base64 Content-Transfer-Encoding.
Initializes a new instance of the class.
Initializes a new instance of the class.
Mail From email address.
Receipt To email address.
Initializes a new instance of the class.
Mail From email address.
Receipt To email address.
Email data.
Gets a string representation of the object.
A string representation of the object.
Gets or set the From (MAIL FROM) email address.
Gets or sets the To (RCPT TO) email address.
Gets or sets the email data.
An extended email object providing header and attachment decoding for the Data section.
Author: Paul Roberts
Created: 11.10.2007
Initializes a new instance of the class.
Initializes a new instance of the class.
Mail From email address.
Receipt To email address.
Initializes a new instance of the class.
Mail From email address.
Receipt To email address.
Email data.
Clear all email data.
Builds up an email DATA string built from the part and header objects.
An email DATA string built from the part and header objects.
Parses an email DATA string and builds up the part and header objects.
Data string.
Gets or sets the email headers.
Gets the list of email parts (part 0 is the body part).
Gets or sets the body part (part 0).
Gets or sets the data string of the email.
Gets or sets the Content-Type multipart boundary.
An email part.
Initializes a new instance of the class.
Gets the email part ready for use in an Smtp DATA command.
The email part ready for use in an Smtp DATA command.
Gets a string representation of the object.
A string representation of the object.
Saves the content to a file.
Filename to save to.
Gets or sets the headers.
Gets or sets the content.
Gets the filename parameter (if one exists) from either the ContentDisposition or ContentType headers.
A WebHeaderCollection class with helper properties for MIME details.
Get the headers for use in an Smtp DATA string.
The headers for use in an Smtp DATA string.
Load the headers from an Smtp DATA string and get the start of the content.
Smtp DATA string.
The index that the content starts from.
Gets or sets the MIME-Version header.
Gets or sets the Content-Type header.
Gets or sets the Content-Transfer-Encoding header.
Gets or sets the Content-Disposition header.
A WebHeaderCollection class with helper properties for common email headers.
Gets or sets the To header.
Gets or sets the From header.
Gets or sets the Subject header.
Gets or sets the CC header.
Gets or sets the Reply-To header.
Gets or sets the Date header.
Gets or sets the User-Agent header.
Gets or sets the Message-ID header.
Gets or sets the Sender header.
Gets or sets the Received header.
Gets or sets the Return-Path header.
Gets or sets the XPriority header.
Gets or sets the DispositionNotificationTo header.
Initializes
Updates field values with those of another server object
Creates a new instance with values matching those of this one.
Makes comparison between two servers, returning differences
First server to compare
Second server to compare
Fields that are different
Account Number column
Decoded Extra Value class
If the server is in the database at present.
Server change flags
Performs logging for ITask and IReceiver services.
Initializes a new instance of the class.
The EventLog to log to.
The IReceiver to perform logging for.
Initializes a new instance of the class.
The EventLog to log to.
The ITask to perform logging for.
Logs a message to the EventLog and/or Trace.
Message to log.
Type of message.
Whether to log this message to the EventLog.
Whether to write this message to Trace.
The category to use for the Trace message.
Gets or sets the Source to use when logging to the EventLog (if this is blank, EventLog logging will not be performed).
Gets or sets the IReceiver to perform logging for.
Gets or sets the ITask to perform logging for.
Gets or sets whether to log the ITask ItemsRetrieved event.
Notifies when servers of a certain type are added, changed, or deleted from the database.
Author: Paul Roberts
Created: 13-Nov-2009
Initializes a new instance of the class.
Data source.
ServerType IDs to sync.
Start synchronizing.
Stop syncronizing.
Do a syncronization run.
Raised when a timed sync is started.
Raised when a timed sync is completed
Raised if an error occurs during a timed sync process.
Raised when a server has been added to the database.
Raised when an existing server has been modified.
Raised when an existing server has been deleted.
Gets the data source to use for data communication.
Gets the list of server type IDs that will be fetched.
Gets or sets the millisecond delay between syncs.
Servers row event arguments.
Initializes a new instance of the class.
Original row.
Modified row.
Contains the row that was changed.
Contains the original row for a modified event.
Holds process infomation indexed by process ID
Finds CPU usage object for a specific process ID
Process ID to find
Current CPU usage, or 0 if process is not found.
Initializes all the time variables for first run
Runs process check, first by calculating the overall CPU values for the system, then maintaining a list of values for the individual processes
Checks that the milliseconds value is greater than 0 (i.e. valid)
The tick value to check
True or false if the tick value is valid
Takes care of subtracting two FILETIME values from each other safely
List of current process information
If false, is still working on initial values and so is unreliable.
Total process CPU
A simple object that holds a Process and information about that Process
HTTP interface class
Creates a new HTTP interface
Service title
Service status object
HTTP port
Starts the interface
Stops the interface
Service title
HTTP Port
Service status object
If true, sends messages as they are. If false, will HTML encode the text
If true, sends connection status as-is. If false, will HTML encode the text
If authentication is set
When a new trace hook has been added
When a CallAction command is sent
When an unknown request is made.
SMTP client verbs.
Extended hello.
HELO filtered by a Cisco router.
Authentication request followed by the type (i.e. PLAIN, LOGIN).
Reset.
SMTP server responses.
1xx Positive preliminary
2xx Positive completion
3xx Positive intermediate
4xx Temporary negative
5xx Permanent negative
Blank response.
Receive an email.
Author: Paul Roberts
Created: 11.10.2007
Initializes a new instance of the class.
Dispose the receiver.
Close the receiver.
Receive emails from a connected client.
Socket to receive from.
Occurs when a new email has been received.
Occurs when data is sent.
Occurs when data is received.
Gets or sets the buffer size to use for receiving emails with.
Gets or sets the 220 welcome message to send when clients connect
Gets or sets whether to respond with error 500 to an unrecognized command, or just respond 250 OK.
Returns the socket to which the receiver is connected.
Gets the emails that have been received by this receiver during its connection lifespan.
Gets or sets the email currently being received.
Gets whether the receiver is currently connected to a client.
Email received event arguments.
Initializes a new instance of the class.
The received email.
Gets the received email.
Data event arguments.
Initializes a new instance of the class.
The data string.
Gets the data.
SMTP Client
Author: Paul Roberts
Created: 11/Nov/2015
Initializes a new instance of the class.
Connect to the SMTP server and say hello, and optionally encrypt and authenticate.
Host.
Port.
Encryption mode.
Username. Blank=no authentication.
Password.
The response from the hello command.
Disconnect from the server.
Dispose the instance.
Send an email.
From address.
To addresses.
Email data (including any headers with the subject etc).
Start position in the data buffer to send from.
Length of the data to send.
Gets or sets the domain name to send with the hello command.
Gets or sets the timeout when connecting.
Gets or sets the timeout for sending and receiving data. Note if this is too short then you may get weird situations with partial responses.
Gets or sets the certificates to use when establishing an encrypted connection.
Ademco's Contact ID Protocol
The Radionics Modem III Protocol
The SIA Protocol
DMP's Proprietary Protocol
OzVision's SIA
OzVision's modified SIA
Caller ID
Delegate for calling when the CPU threshold limit has been exceeded
A CPUMonitor object
A CPULimitEventArgs object
Delegate for calling when the CPU threshold limit has been restored to below the threshold
A CPUMonitor object
A CPULimitEventArgs object
Monitor for checking CPU levels
Invoke the CPULimitExceeded event; called whenever the CPU limit is exceeded
A CPULimitEventArgs object
Invoke the CPULimitRestored event; called whenever the CPU limit is restored
Creates a CPU monitor that takes values from prefs
Disposes of the CPUMonitor class (calls inherited Dispose)
Creates a CPU monitor that uses static monitor values
Checks the status of the CPU for the machine
Event declaration for when the CPU limit has been exceeded
Event declaration for when the CPU limit has been restored
Number of CPUs
Speed of CPUs in Hz
Maximum CPU usage threshold, measured in percent
Videowall CPU usage threshold, measured in percent
EndUser CPU usage threshold, measured in percent
Number of checks to cache so that an average can be calculated over all of them
Current CPU usage
Property that will retrieve the mean CPU value over a range of recent checks
When the threshold started to be exceeded
How long the CPU has to be above the threshold before sending an alert
A CPU Limit Event Args class - used for detailed information about the current status of the CPU monitor
Constructor for the CPU Limit Event Args, passes through details provided for a pre-populated object
Single line description string
Multi-line details string including the top 5 offending CPU usage items
Whether the thresholds have been exceeded
Current status: Normal, EndUser, Videowall, Maximum
Single line description string
Multi-line details string including the top 5 offending CPU usage items
Whether the thresholds have been exceeded
Current status: Normal, EndUser, Videowall, Maximum
Task service which performs the same action continously on a list of items.
Author: Paul Roberts
Created: 09-01-2008
Run a single execution.
Number of items that were processed.
Cancel the current execution.
Gets or sets the data source.
Raised when the list of items for processing has been retrieved.
Raised when an item has been processed.
Raised when an error occurs during the processing of an item.
Items retrieved event arguments.
Initializes a new instance of the class.
Number of items that were retrieved.
Description of items.
Gets a string representation of the object.
A string representation of the object.
Gets the number of items that were retrieved.
Gets the item list description.
Item processed event arguments.
Initializes a new instance of the class.
Position of the item in the list.
The item that was processed.
The result of processing.
Gets a string representation of the object.
A string representation of the object.
Gets the position of the item in the list.
Gets the item that was processed.
Gets the result object.
A user token for use with impersonation.
Initializes a new instance of the class.
Name of the user account to log on to. If you use the user principal name (UPN) format, user@DNS_domain_name, the domain parameter must be NULL.
Name of the domain or server whose account database contains the username account. If this parameter is NULL, the user name must be specified in UPN format. If this parameter is ".", the function validates the account by using only the local account database.
Plaintext password for the user account specified by username.
Closes the token.
Close result.
Finalize the object.
Closes the token.
Gets the user token.
A TraceListener which outputs messages to a listening Tcp client. IMPORTANT NOTE: You MUST call the Close method to close the listener.
Author: Paul Roberts
Created: 15.11.2007
Create a new instance, and try to load settings from config and start listening.
(Will only start if config contains at least a TracePort setting).
Create a new instance and start listening.
Port to listen on.
Create a new instance and start listening.
Port to listen on.
Address to listen on.
Create a new instance from an app.config initializeData string.
app.config initializeData string in the format "port[|ipAddress]"
App.config goes under <configuration>, <system.diagnostics>, <trace>, <listeners>
<add name="ListenerName" type="SureView.Services.TcpTraceListener, SureView.Services" initializeData="16000" />
Send a message to the listening client (if any).
Message to send.
Send an object to the listening client (if any).
Object to send.
Send a message to the listening client (if any).
Message to send.
Send an object to the listening client (if any).
Object to send.
Start listening.
Port to listen on.
Start listening.
Port to listen on.
IP address to listen on.
Close the listener.
Dispose.
Disposing.
Gets whether we are listening for connections.
Gets whether a client is currently connected.
Event raised when a new client connects to the listener.
Trace listener to write to multiple files
Creates a new RollingFileTraceListener
Allowed attributes in config
List of names of attributes that apply to this listener
Write string to file
Message to write
Writes a string to a file followed by a new line
Message to write
Flushes current stream
Closes output stream
Disposes listener and filestream
disposing
Filename for saving
Location to save files
If the file should be limited by size
How long to write to a file before creating a new one
If the file should be limited by size
Maximum file size of logs, in megabytes
Maximum number of files to keep
Control a service.
Author: Paul Roberts
Created: 07.11.2007
Service execution continues regardless of errors, the only way to stop the service is to call Stop or Dispose.
Initializes a new instance of the class.
Initializes a new instance of the class.
Service task to execute.
Dispose the object.
Start executing the service task.
Task is null.
Stop execution.
Gets or sets the millisecond delay between executions.
Gets or sets the task to control.
Occurs when the service has executed.
Raised when an error occurs during execution.
Executed event args.
Initializes a new instance of the class.
Result.
Gets a string representation of the object.
A string representation of the object.
Gets the execution result.
An object to contain the key non-generic components of syncing
ActiveX instance, IP address, etc.
Sets up the object.
Server Row to which this corresponds
Update with new settings and pass on to internal objects.
NOTE: If no settings have changed, do nothing.
Server Row to which this corresponds
Dispose of this object and its underlying objects
Returns new instance of this concrete type
Server ID relevant to this object
Key to identify the object
A generic utility class to synchronise a local collection object with its counterpart in the database.
A generic utility class to synchronise a local collection object with its counterpart in the database.
Local collection to be brought to sync.
Stub concrete object used for creating new concrete objects
Server Type IDs to sync with
Frequency to sync (seconds)
Whether to output to trace
Data source
Data store
Begin the synchronisation process.
Terminate the synchronisation process.
Event to mark beginning of synchronisation cycle.
Event to mark end of synchronisation cycle.
An object type for parsing a message format.
Parse the incoming channel data into a PanelAlarm object.
Incoming signal.
A PanelAlarm object containing relevant data.
Set up a new UDP listener to accept incoming connections.
Port number for listener.
Thrown if port already in use.
Remove a UDP listener active on a given port.
Port number for listener.
Thrown when connection not present.
Thread to process data for a single listener.
Listener object.
Key responding to running flags list.
Send a byte array of data to the designated host/port via UDP/IP.
Address of target host.
Port number.
Data to be sent.
Event to be raised upon receipt of new UDP data.
Handler method delegate for processing incoming UDP data.
Byte array of data.
Remote host address.
Remote port number.
Extended trace output for file-based logging
Deletes files older than a certain threshold
Returns the list of messages for a given hook, and clears them out
ID of hook to get messages
list of messages as a string
Class for holding an ongoing request for trace information.
Creates a new trace hook
Adds a message to the trace hook. Causes removal of old messages if the number exceeds ServiceLog.MaximumKeptMessagesPerHook
Trace level of message
ID to log message under
Trace message
Unique ID
Level of trace message to show
ID to trace
Time to remove this trace hook
Current messages
Message added to trace
Creates a new LogMessage, setting the time to the current time.
Time message was created
Trace Level of message
Message text
Gets the RegionID (GroupID) of a site
Class to provide failover checks for services that should only be functional in one place at a time
Initialize failover checking with no data source
Name of service
Initializes failover service checking with SQL connection
Name of service
Database connection string
Starts checking
Ends checking
Raises when status has changed
Name of service
Current status
Class for change of status event
New status
Time of the last heartbeat
SMTP encryption modes.
No encryption.
Upgrade to an encrypted connection using the StartTLS command (usually on port 587 and referred to as "TLS").
Encrypt upon connection (usually on port 465 and referred to as "SSL").
Loads and manages monitors
Returns all monitors of a given type
A simple logging function for debugging
A string to show in the log
Creates new monitor manager
Adds a monitor, but only if one of the same type is not already present
Monitor to add
Checks whether a monitor of this type already exists
The monitor name to check
True/False if the monitor exists or not
Starts all monitors
Stops all monitors
Dispose of the monitors individually, and then of the monitor manager
Static instance
All monitors
Control of the amount of time that the monitors are updated. This is designed for use with a config setting.
Changing this value will not affect already started monitors, the application will need to be restarted.
If monitors are currently running
Class to find monitors of a given type
Returns a single monitor, or default if not present
Monitor of generic type
Returns all monitors of the generic type
Enumerable of monitors of generic type
Unique alarm lookup code.
Input 1.
Input 2.
Unique type of alarm.
Extra text for alarm description.
Whether or not this alarm represents a restoral.
Whether or not this alarm represents a trouble.
The number of the triggering user for certain alarm types
Create new instance of alarm.
Unique alarm lookup code.
Input 1.
Input 2.
Unique type.
Extra alarm description text.
Whether or not this is a restore.
Whether or not this is a trouble.
Create new instance of alarm.
Unique alarm lookup code.
Input 1.
Input 2.
Unique type.
Extra alarm description text.
Whether or not this is a restore.
Create new instance of alarm.
Unique alarm lookup code.
Input 1.
Input 2.
Unique type.
Extra alarm description text.
A client for TcpTraceListener.
Author: Paul Roberts
Created: 15.11.2007
Create a new instance.
Connect to a TcpTraceListener.
Hostname of the computer running the service.
Port the service is running on.
The welcome message.
Close the connection.
Dispose the object and release all resources.
Occurs when data is received.
Gets whether a connection has been made to a listener.
Gets the name of the server returned in the welcome messge (The Name property of the TcpTraceListener).
Trace received event arguments.
Initializes a new instance of the class.
Recieved message.
Gets the trace message.
An email sender.
Author: Paul Roberts
Created: 11.10.2007
Initializes a new instance of the class.
Dispose the client.
Returns a string representation of the object.
A string representation of the object.
Connect to an SMTP server and receive the welcome message.
The reply.
Reply was not 220 Service Ready.
Server is null or blank.
Connect to an SMTP server and receive the welcome message.
SMTP server to connect to.
The reply.
Reply was not 220 Service Ready.
Server is null or blank.
Connect to an SMTP server and receive the welcome message.
SMTP server to connect to.
Port to connect to.
The reply.
Reply was not 220 Service Ready.
Server is null or blank.
Disconnect from the server. Sends the QUIT command if we are connected.
The reply to the QUIT command.
Send the EHLO command to the server and fall back to HELO if EHLO fails.
The reply.
Reply was not 250 OK.
Not connected to a server -or- LocalDomain is blank.
Send the RSET command to the server.
The reply.
Reply was not 250 OK.
Not connected to a server.
Authenticate with the server.
The type of authentication to use.
Username.
Password.
The reply.
Server does not support the auth type or user details are invalid.
Not connected to a server.
Authenticate with the server.
The type of authentication to use.
The reply.
Server does not support the auth type or user details are invalid.
Not connected to a server.
Send an email to the server.
The email to send.
The reply.
An invalid reply was received.
Not connected to a server.
The email or some of its fields are blank or null.
Occurs when data has been sent.
Occurs when data has been received.
Gets whether the sender is connected.
Gets whether a username has been set.
Gets or sets the SMTP server to connect to.
Gets or sets the port of the SMTP server to connect to.
Gets or sets the local domain to pass in to the EHLO or HELO command.
(Does not need to exist, but a value MUST be passed in because most SMTP servers require it).
Gets or sets the username to use for authentication.
Gets or sets the password to use for authentication.
Gets or sets how long to wait for a send operation to complete in milliseconds. 0=No timeout.
Gets or sets how long to wait for a receive operation to complete in milliseconds. 0=No timeout.
Smtp reply error.
Create a new instance.
Create a new instance.
Message.
Create a new instance.
Info.
Context.
Create a new instance.
Message.
Inner exception.
Create a new instance.
The text that was sent.
The reply that was received.
The reply that was expected.
Create a new instance.
The command that was sent.
The reply that was received.
The reply that was expected.
Gets the text that was sent.
Gets the reply that was received.
Gets the reply that was expected.
Gets the error message.
Authentication types.
Plain (Username and password combined and then base 64 encoded).
Login (Username and password sent individually in base 64).
Delegate for calling when the memory threshold limit has been exceeded
A MemoryMonitor object
A MemoryLimitEventArgs object
Delegate for calling when the memory threshold limit has been restored to below the threshold
A MemoryMonitor object
A MemoryLimitEventArgs object
Monitor for checking RAM use
Invoke the MemoryLimitExceeded event; called whenever the memory limit is exceeded
A MemoryLimitEventArgs object
Invoke the MemoryLimitRestored event; called whenever the memory limit is restored
Creates a memory monitor that uses pref values
Creates a memory monitor that uses static values
The Maximum Memory Threshold value
Checks the status of the memory for the machine
A CheckResult object
Event declaration for when the memory limit has been exceeded
Event declaration for when the CPU limit has been restored
Maximum RAM usage threshold, measured in percent
Videowall RAM usage threshold, measured in percent
Videowall RAM usage threshold, measured in percent
Amount of RAM on the machine
Size of page file
Free RAM (in Mb)
Used RAM percentage
Time RAM threshold was exceeded
How long used RAM needs to be over the limit before triggering an alert
A performance information object
API call to get the performance info [object] which is populated
PerformanceInfo struct that is populated
Size of PerformanceInfo
True or false depending on if the function was successfully completed
Gets the total memory for the current performance information object
A Memory Limit Event Args class - used for detailed information about the current status of the memory monitor
Constructor for the Memory Limit Event Args, passes through details provided for a pre-populated object
Single line description string
Multi-line details string including the top 5 offending memory usage items
Whether the thresholds have been exceeded
Current status: Normal, EndUser, Videowall, Maximum
Single line description string
Multi-line details string including the top 5 offending memory usage items
Whether the thresholds have been exceeded
Current status: Normal, EndUser, Videowall, Maximum
A monitor class for processes
Holds process infomation indexed by process ID
Creates a new process monitor that uses Pref values
Disposes of the process information that we are currently holding
Finds CPU usage for a specific process ID
Process ID to find
Current CPU usage, or 0 if process is not found.
Runs process check
Will always return null
Kills the process
The process id to kill
List of current process information
If false, is still working on initial values and so is unreliable.
Total process CPU
Class holds Process data and checks CPU usage
Native methods for accessing the process information
Gets the process handle
Closes the process handle
Create new ProcessCPU
Process to check
Checks the CPU value
Takes care of subtracting two FILETIME values from each other safely
Dispose of the running process
Username running process
Domain of user running process.
Process object
Process Description
Process ID
Command Line arguments
Current CPU usage in %
Current processor time in ticks
The name of the current process
Process time data
Creation, Exit, Kernel and User times that have been converted
Creation, Exit, Kernel and User times that have been converted
Creation, Exit, Kernel and User times that have been converted
Creation, Exit, Kernel and User times that have been converted
Raw Creation, Exit, Kernel and User times
Raw Creation, Exit, Kernel and User times
Raw Creation, Exit, Kernel and User times
Raw Creation, Exit, Kernel and User times
Convert the raw times from file times to date time objects