Archive for July, 2006

C# method to mimic PHP file_get_contents

14 July 2006

If your looking for an easy method to get text file contents that will work for System files (using System.IO), and network files (either http or ftp) via a URL (using System.Net.WebClient). This method works just like the PHP method file_get_contents