iControl.Utility.Configuration.saveLocalFile C# (CSharp) Method

saveLocalFile() public static method

public static saveLocalFile ( String localPath, String contents ) : void
localPath String
contents String
return void
        public static void saveLocalFile(String localPath, String contents)
        {
            System.IO.FileStream fsOut = System.IO.File.Create(localPath);
            System.IO.StreamWriter sw = new System.IO.StreamWriter(fsOut);
            sw.Write(contents);
            sw.Close();
            fsOut.Close();
        }