Assume that a website has set the directory listing permissions open for one of its folder and I can see files on the web browser[as on the image]. Is there a way to get files in this folder to an array?

In a word, I need to use a method that’s doing what DirectoryInfo.GetFiles("C:/"); for an URL.
Edit: I’d rather want to use a method instead of getting web response and parse the result. That’s like a back door in case there’s not an alternative way.
This code will help you get the html
Once you get the html you can parse it to get the file names