Click or drag to resize

SysUtils Class

Provides some common utility methods for system operations.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.CommonSysUtils

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.2.0.9
Syntax
C#
public static class SysUtils

The SysUtils type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDefaultEventSourceIdentifier
Returns the vault application event source identifier that is used when logging to Windows event log.
Public propertyStatic memberVaultGuid
Vault guid.
Public propertyStatic memberVaultName
Vault name.
Top
Methods
  NameDescription
Public methodStatic memberCreateTempFolder
Creates a temporary folder.
Public methodStatic memberDeleteFromDisk
Deletes a file or directory from the disk. In a case of directory the sub-folders and files are deleted recursively.
Public methodStatic memberGetTempFileName
Returns a temporary file name.
Public methodStatic memberReportErrorMessageToEventLog(String, Exception)
Reports the exception with a prefix message to the windows event log.
Public methodStatic memberReportErrorMessageToEventLog(String, String, Exception, EventLogEntryType)
Reports the exception with a prefix message to the windows event log.
Public methodStatic memberReportErrorToEventLog(Exception)
Reports an exception to the windows event log.
Public methodStatic memberReportErrorToEventLog(String)
Reports an error message to the windows event log.
Public methodStatic memberReportErrorToEventLog(String, Exception)
Reports an exception to the windows event log.
Public methodStatic memberReportErrorToEventLog(String, String)
Reports an error message to the windows event log.
Public methodStatic memberReportErrorToEventLog(String, String, Exception)
Reports the exception with a prefix message to the windows event log.
Public methodStatic memberReportInfoToEventLog(String)
Reports an informational message to the windows event log.
Public methodStatic memberReportInfoToEventLog(String, String)
Reports an informational message to the windows event log.
Public methodStatic memberReportToEventLog(String, EventLogEntryType)
Reports a message to the windows event log.
Public methodStatic memberReportToEventLog(String, String, EventLogEntryType)
Reports a message to the windows event log.
Public methodStatic memberReportWarningToEventLog
Reports an exception to the windows event log as warning.
Public methodStatic memberSetVaultIdentifier
Sets the static Name and GUID identifiers for the vault.
Top
See Also