Update 20241028

This commit is contained in:
Stefan Hutter committed 2024-10-28 20:22:18 +01:00
1 parent 5bea1d4535
commit 6da124508d
76 files changed
+2267 -32

No files matched your search

Binary file not shown.
Binary file not shown.
+10
View File
@@ -1,6 +1,7 @@
using NLog.LayoutRenderers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -37,5 +38,14 @@ namespace Helper
}
}
public Stream GenerateStreamFromString(string s)
{
var stream = new MemoryStream();
var writer = new StreamWriter(stream);
writer.Write(s);
writer.Flush();
stream.Position = 0;
return stream;
}
}
}
Binary file not shown.
Binary file not shown.