update nach anpassungen clsgetdoc

This commit is contained in:
Stefan Hutter
2024-06-01 21:43:57 +02:00
parent 511a741857
commit f22627a1a8
571 changed files with 3770600 additions and 117 deletions

View File

@@ -57,6 +57,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Base64Helper.cs" />
<Compile Include="clsFileHelper.cs" />
<Compile Include="Converter.cs" />
<Compile Include="helper.cs" />
<Compile Include="NLogHelper.cs" />

Binary file not shown.

Binary file not shown.

27
Helper/clsFileHelper.cs Normal file
View File

@@ -0,0 +1,27 @@
using NLog.LayoutRenderers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Helper
{
public class clsFileHelper
{
public string save_temp_file(string data, string dokumentid, string temppath, string extension)
{
string filename = temppath+ DateTime.Now.ToString("yyyyMMddhhmmss") + "_" + dokumentid + "." + extension;
try
{
System.IO.File.WriteAllBytes(filename, Convert.FromBase64String(data));
return filename;
}
catch
{
return "";
}
}
}
}

View File

@@ -1 +1 @@
ec7cb520f7c8c47b159dc11c8e9944f12c4da763c52c1db8f364329591abda11
80e87a2cbcf95b7f9469731d75341530912738380000edebd722b7d3396a4ea7

Binary file not shown.

Binary file not shown.