Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NtfsReader

Modifications made in this fork:

Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
    ' ...  existing code ...
    
    ' Subscribe to NtfsReader diagnostic messages
    AddHandler NtfsReader.DiagnosticMessage, AddressOf NtfsReader_DiagnosticMessage

    ' Enable verbose diagnostics (optional - only when troubleshooting - will make logs large and app slower!)       
    NtfsReader.EnableVerboseDiagnostics = True  ' ✅ Set to False for normal use
    
    ' ...  rest of your code ...
End Sub

Private Sub NtfsReader_DiagnosticMessage(sender As Object, e As DiagnosticEventArgs)
    ' Forward NtfsReader diagnostics to Serilog
    Select Case e.Level.ToLower()
        Case "error"
            Log.Error(e.Message)
        Case "warning"
            Log.Warning(e.Message)
        Case "debug"
            Log.Debug(e.Message)
        Case Else
            Log. Information(e.Message)
    End Select
End Sub

Original description from https://sourceforge.net/projects/ntfsreader/ :

The NtfsReader library.

Copyright (C) 2008 Danny Couture

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

For the full text of the license see the "License.txt" file.

This library is based on the work of Jeroen Kessels, Author of JkDefrag. http://www.kessels.com/Jkdefrag/

Special thanks goes to him.

Danny Couture Software Architect

About

Danny Coutures NtfsReader source (fast NTFS access, like everything)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages