vb.net如何获取指定文件夹内所有文件的名称

最近vb2005写了个WinCE的程序,需要采集器读取本机指定文件夹内的文件名,并通过文件名处理每个文件里的内容。
请各位高手指点一下,这个问题困扰我好几天了,一直找不到好的解决办法,再次谢过。
比较着急,有此类开发经验的高手指点一二,谢谢。。。

Directory.GetFiles
https://msdn.microsoft.com/zh-cn/library/wz42302f.aspx

 Imports System
Imports System.IO

Public Class Test
    Public Shared Sub Main()
        Try
            ' Only get files that begin with the letter "c."
            Dim dirs As String() = Directory.GetFiles("c:\", "c*") '列出C:\下c开头的文件,你需要稍微修改,你的路径,列出所有文件是*.*
            Console.WriteLine("The number of files starting with c is {0}.", dirs.Length)
            Dim dir As String
            For Each dir In dirs
                Console.WriteLine(dir)
            Next
        Catch e As Exception
            Console.WriteLine("The process failed: {0}", e.ToString())
        End Try
    End Sub
End Class

如果需要列出包含目录下面包括子目录的文件,用
Dim dirs As String() = Directory.GetFiles("路径", "*.*", SearchOption.AllDirectories)