Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void WriteStringToFile(string ValueText)
- {
- try
- {
- FileStream fs = new FileStream(FCEModPath + "ModLog.log", FileMode.Append, FileAccess.Write);
- StreamWriter sw = new StreamWriter(fs);
- sw.WriteLine(ValueText);
- sw.Close();
- fs.Close();
- }
- catch (Exception)
- {
- throw;
- }
- finally
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement