I am porting some old code onto this new platform. Is this doable?
which NuGet to include, it gives an error for FileStream
FileStream tw;
if (File.Exists(tName))
{
tw = new FileStream(tName, FileMode.Append, FileAccess.Write);
}
else
{
IDispPrint("Create: " + tName);
tw = new FileStream(tName, FileMode.Create, FileAccess.Write);
tw.Write(Encoding.UTF8.GetBytes(tStr), 0, tStr.Length);
Head = true;
}
tw.Write(ReplyStr, 0, ReplyStr.Length);
tw.Close();