SysUtils Class

Provides some common utility methods for system operations.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static class SysUtils
Inheritance
Object    SysUtils

Properties

DefaultEventSourceIdentifier Returns the vault application event source identifier that is used when logging to Windows event log.
VaultGuid Vault guid.
VaultName Vault name.

Methods

CreateTempFolder Creates a temporary folder.
DeleteFromDisk Deletes a file or directory from the disk. In a case of directory the sub-folders and files are deleted recursively.
GetTempFileName Returns a temporary file name.
ReportErrorMessageToEventLog(String, Exception) Reports the exception with a prefix message to the windows event log.
ReportErrorMessageToEventLog(String, String, Exception, EventLogEntryType) Reports the exception with a prefix message to the windows event log.
ReportErrorToEventLog(Exception) Reports an exception to the windows event log.
ReportErrorToEventLog(String) Reports an error message to the windows event log.
ReportErrorToEventLog(String, Exception) Reports an exception to the windows event log.
ReportErrorToEventLog(String, String) Reports an error message to the windows event log.
ReportErrorToEventLog(String, String, Exception) Reports the exception with a prefix message to the windows event log.
ReportInfoToEventLog(String) Reports an informational message to the windows event log.
ReportInfoToEventLog(String, String) Reports an informational message to the windows event log.
ReportToEventLog(String, EventLogEntryType) Reports a message to the windows event log.
ReportToEventLog(String, String, EventLogEntryType) Reports a message to the windows event log.
ReportWarningToEventLog Reports an exception to the windows event log as warning.
SetVaultIdentifier Sets the static Name and GUID identifiers for the vault.

See Also