Click or drag to resize
Utility Class
Contains miscellaneous static methods.
Inheritance Hierarchy
SystemObject
  OpenIIoT.CoreUtility

Namespace: OpenIIoT.Core
Assembly: OpenIIoT (in OpenIIoT.exe) Version: 0.5.0.39120
Syntax
public static class Utility

The Utility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDisableLoggingLevel
Disables the specified logging level within the LogManager.
Public methodStatic memberEnableLoggingLevel
Enables the specified logging level within the LogManager.
Public methodStatic memberGetSetting(String)
Retrieves the setting corresponding to the specified setting from the app.exe.config file.
Public methodStatic memberGetSetting(String, String)
Retrieves the setting corresponding to the specified setting from the app.exe.config file. If the setting isn't found, returns the provided defaultSetting and logs a warning.
Public methodStatic memberModifyService
Installs or uninstalls the application as a Windows Service, depending on the provided action.
Public methodStatic memberPrintLogo
Prints the logo for the application.
Public methodStatic memberPrintLogoFooter
Prints the logo footer for the application.
Public methodStatic memberPrintModel
Recursively prints the application Model to the specified logger.
Public methodStatic memberSetLoggingLevel
Sets the logging level of the LogManager to the specified level, disabling all lower logging levels.
Public methodStatic memberUpdateSetting
Updates the setting corresponding to the specified setting within the app.exe.config file with the specified value.
Top
See Also