Biz.Helper.MapfileHelper.Read C# (CSharp) Method

Read() public static method

public static Read ( string path ) : string
path string
return string
        public static string Read(string path)
        {
            string mediaFileContent;

            // Get current file content.
            using (StreamReader reader = new StreamReader(path))
            {
                mediaFileContent = reader.ReadToEnd();
            }

            return mediaFileContent;
        }
MapfileHelper