System IO VB.Net by API

Public Class Tester
    Public Shared Sub Main
    
        Dim fileDetail As IO.FileInfo
        fileDetail = My.Computer.FileSystem.GetFileInfo("test.txt")
        Console.WriteLine("Created: " & fileDetail.CreationTime)
        Console.WriteLine("Accessed: " & fileDetail.LastAccessTime)
        Console.WriteLine("Modified: " & fileDetail.LastWriteTime)
    End Sub
End Class