How can i Extract the entire folder hierarchy

refer to:

Directory.GetFiles(MyDirPathVar,"*.*",SearchOption.AllDirectories)
New DirectoryInfo(MyDirPathVar).GetFiles("*.*",SearchOption.AllDirectories)