DigitalData.Modules.Filesystem
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
FileContainer
0.0.0.2
21.11.2018
File Container for securely saving files
NLog, >= 4.5.8
LogConfig, DigitalData.Module.Logging.LogConfig
A LogConfig object
Password, String
The Password to Encrypt
Path, String
The Path to save/load the container
dim oContainer = Container.Create(logConfig, "pass", "E:\some.container")
dim oContainer = Container.Load(logConfig, "pass", "E:\some.container")
dim oContainer = new Container(logConfig, "pass", "E:\some.container")
oContainer.Save()
dim oContainer = new Container(logConfig, "pass", "E:\some.container")
oContainer.Contents = oSomeData
oContainer.Save()
dim oContainer = new Container(logConfig, "pass", "E:\some.container")
oContainer.Load()
dim oContents = oContainer.Contents
dim oContainer = new Container(logConfig, "pass", "E:\some.container")
oContainer.Load()
oContainer.Contents = oSomeOtherData
oContainer.Save()
oContainer.SaveAs("E:\some2.container")
File
0.0.0.1
11.10.2018
Module that provides variouse File operations
NLog, >= 4.5.8
LogConfig, DigitalData.Module.Logging.LogConfig
A LogConfig object
Adds file version string to given filename `Destination` if that file already exists.
Removes files in a directory filtered by filename, extension and last write date
The directory in which files will be deleted
Only delete files which are older than x days. Must be between 0 and 1000 days.
A filename filter which will be checked
A file extension which will be checked
Should the function continue with deleting when a file could not be deleted?
True if all files were deleted or if no files were deleted, otherwise false
Copied from https://docs.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories
Tries to create a directory and returns its path.
Returns a temp path if `DirectoryPath` can not be created or written to.
The directory to create
Should a write access test be performed?
The used path
This may fire twice for a single save operation,
see: https://blogs.msdn.microsoft.com/oldnewthing/20140507-00/?p=1053/
Built-in filters for FileWatcher that are useful for correctly detecting changes on Office documents (currently Office 2016)
Base Filter that all filters must inherit from
Provides two functions that may be overridden and some useful file extension lists
Simple Filter that filters changes made on temporary files
Filter to detect changes on Office files