Update 20250606
This commit is contained in:
57
OnDoc_ArchivierungBatch/App.config
Normal file
57
OnDoc_ArchivierungBatch/App.config
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="OnDoc_ArchivierungBatch.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
<section name="OnDoc_Paketversand.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
||||
</startup>
|
||||
<userSettings>
|
||||
<OnDoc_ArchivierungBatch.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="APIKey" serializeAs="String">
|
||||
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
|
||||
</setting>
|
||||
<setting name="LogConnectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="adminmail" serializeAs="String">
|
||||
<value>dm@tkb.ch</value>
|
||||
</setting>
|
||||
<setting name="prefix_betreff" serializeAs="String">
|
||||
<value>INT: </value>
|
||||
</setting>
|
||||
<setting name="logfile" serializeAs="String">
|
||||
<value>x:\ondoc_archivierung_batch_log.txt</value>
|
||||
</setting>
|
||||
</OnDoc_ArchivierungBatch.Properties.Settings>
|
||||
<OnDoc_Paketversand.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="APIKey" serializeAs="String">
|
||||
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
|
||||
</setting>
|
||||
<setting name="LogConnectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="adminmail" serializeAs="String">
|
||||
<value>dm@tkb.ch</value>
|
||||
</setting>
|
||||
<setting name="prefix_betreff" serializeAs="String">
|
||||
<value>INT: </value>
|
||||
</setting>
|
||||
</OnDoc_Paketversand.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
62
OnDoc_ArchivierungBatch/OnDoc_ArchivierungBatch.csproj
Normal file
62
OnDoc_ArchivierungBatch/OnDoc_ArchivierungBatch.csproj
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{8F9B5281-A768-432D-AD35-5BC449CD2452}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>OnDoc_ArchivierungBatch</RootNamespace>
|
||||
<AssemblyName>OnDoc_ArchivierungBatch</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
180
OnDoc_ArchivierungBatch/Program.cs
Normal file
180
OnDoc_ArchivierungBatch/Program.cs
Normal file
@@ -0,0 +1,180 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Mail;
|
||||
using System.Security.Policy;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace OnDoc_ArchivierungBatch
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
private static string connectionstring { get; set; } = "";
|
||||
private static DataSet dsdaten = new DataSet();
|
||||
private static DataTable SP_Parameters = new DataTable();
|
||||
private static int total = 0;
|
||||
private static int ok = 0;
|
||||
private static int error = 0;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
write_log("Start");
|
||||
run();
|
||||
write_log("Total Dokumente:" + total.ToString());
|
||||
write_log("Total OK: "+ok.ToString());
|
||||
write_log("Total Fehler: "+ error.ToString());
|
||||
write_log("Ende");
|
||||
}
|
||||
|
||||
private static void write_log(string entry)
|
||||
{
|
||||
File.AppendAllText(Properties.Settings.Default.logfile, DateTime.Now.ToString() + " - " + entry + Environment.NewLine);
|
||||
}
|
||||
private static void archivedoc(string documentid)
|
||||
{
|
||||
write_log(documentid);
|
||||
string URL = Properties.Settings.Default.RESTURI + "api/ /ArchiveDocFromDatabase?dokumentid=" + documentid;
|
||||
|
||||
HttpWebRequest webRequest = HttpWebRequest.Create(URL) as HttpWebRequest;
|
||||
webRequest.Method = WebRequestMethods.Http.Get;
|
||||
webRequest.Headers["Authorization"] = "Bearer " + Properties.Settings.Default.APIKey;
|
||||
try
|
||||
{
|
||||
using (HttpWebResponse response = webRequest.GetResponse() as HttpWebResponse)
|
||||
{
|
||||
if (response.StatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
StreamReader reader = new StreamReader(response.GetResponseStream());
|
||||
string responseContent = reader.ReadToEnd();
|
||||
if (responseContent.Contains("Hinweismeldung:"))
|
||||
{
|
||||
write_log("Die Archivierung des Dokumentes " + documentid + " wurde nicht durchgeführt:" + Environment.NewLine + responseContent);
|
||||
error = error + 1;
|
||||
return;
|
||||
}
|
||||
ok = ok + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
write_log("Die Archivierung des Dokumentes " + documentid + " wurde abgebrochen." + Environment.NewLine + "Fehler: " + response.StatusDescription);
|
||||
error = error + 1;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
write_log("Die Archivierung des Dokumentes " + documentid + " konnte nicht durchgeführt werden." + Environment.NewLine + "Fehler: " + ex.Message);
|
||||
error = error + 1;
|
||||
|
||||
}
|
||||
}
|
||||
private static void run()
|
||||
{
|
||||
connectionstring = Properties.Settings.Default.Connectionstring;
|
||||
Get_Tabledata("Select dokumentid from dokument where automatischearchivierung=1 and isnull(utomatischarchiviertam,0)=0");
|
||||
|
||||
foreach (System.Data.DataRow dr in dsdaten.Tables[0].Rows)
|
||||
{
|
||||
archivedoc(dr[0].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static DataTable Get_Tabledata(string Tablename, bool StoredProc = false, bool is_SQL_String = false, DataTable sp_params = null)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
if (sp_params == null && SP_Parameters.Rows.Count > 0)
|
||||
{
|
||||
sp_params = SP_Parameters.Copy();
|
||||
}
|
||||
|
||||
SqlConnection sqlconnect = new SqlConnection();
|
||||
DataSet ds = new DataSet();
|
||||
ds.Tables.Clear();
|
||||
dsdaten.Tables.Clear();
|
||||
|
||||
|
||||
sqlconnect.ConnectionString = connectionstring;
|
||||
SqlDataAdapter da = new SqlDataAdapter("", sqlconnect);
|
||||
SqlCommand sqlcmd = new SqlCommand();
|
||||
sqlcmd.Connection = sqlconnect;
|
||||
|
||||
|
||||
|
||||
if (StoredProc == true)
|
||||
{
|
||||
sqlcmd.CommandType = CommandType.StoredProcedure;
|
||||
if (Tablename.IndexOf("@@Mandantnr@@") > 0)
|
||||
Tablename = Tablename.Replace("@@Mandantnr@@", "");
|
||||
sqlcmd.CommandText = Tablename;
|
||||
try
|
||||
{
|
||||
foreach (DataRow r in sp_params.Rows)
|
||||
{
|
||||
sqlcmd.Parameters.Add(r["Paramname"].ToString(), SqlDbType.VarChar);
|
||||
sqlcmd.Parameters[sqlcmd.Parameters.Count - 1].Value = r["Paramvalue"].ToString();
|
||||
}
|
||||
}
|
||||
catch { };
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
sqlcmd.CommandType = CommandType.Text;
|
||||
sqlcmd.CommandText = "Select * from " + Tablename;
|
||||
}
|
||||
if (is_SQL_String == true)
|
||||
sqlcmd.CommandText = Tablename;
|
||||
da.SelectCommand = sqlcmd;
|
||||
sqlconnect.Open();
|
||||
da.Fill(dsdaten, "Daten1");
|
||||
sqlconnect.Close();
|
||||
|
||||
return dsdaten.Tables[0];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
private static void sendmail(string empfaenger, string betreff, string message)
|
||||
{
|
||||
MailMessage mail = new MailMessage();
|
||||
SmtpClient SmtpServer = new SmtpClient();
|
||||
mail.To.Add(empfaenger);
|
||||
mail.From = new MailAddress("OnDoc@tkb.ch");
|
||||
mail.Subject = Properties.Settings.Default.prefix_betreff + betreff;
|
||||
mail.IsBodyHtml = true;
|
||||
mail.Body = message;
|
||||
SmtpServer.Host = "smtp.tgcorp.ch";
|
||||
SmtpServer.Port = 25;
|
||||
SmtpServer.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
|
||||
try
|
||||
{
|
||||
SmtpServer.Send(mail);
|
||||
write_log("Mailversand an " + empfaenger + " nicht erfolgt" );
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
write_log("Mailversand an " + empfaenger + " nicht erfolgt");
|
||||
|
||||
}
|
||||
mail = null;
|
||||
SmtpServer = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
36
OnDoc_ArchivierungBatch/Properties/AssemblyInfo.cs
Normal file
36
OnDoc_ArchivierungBatch/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("OnDoc_ArchivierungBatch")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("HP Inc.")]
|
||||
[assembly: AssemblyProduct("OnDoc_ArchivierungBatch")]
|
||||
[assembly: AssemblyCopyright("Copyright © HP Inc. 2025")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("8f9b5281-a768-432d-ad35-5bc449cd2452")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
114
OnDoc_ArchivierungBatch/Properties/Settings.Designer.cs
generated
Normal file
114
OnDoc_ArchivierungBatch/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,114 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace OnDoc_ArchivierungBatch.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data source=shu01\\shu00;initial catalog=edoka_dms;;persist security info=false;wo" +
|
||||
"rkstation id=;packet size=4096;user id=sa;password=*shu29")]
|
||||
public string Connectionstring {
|
||||
get {
|
||||
return ((string)(this["Connectionstring"]));
|
||||
}
|
||||
set {
|
||||
this["Connectionstring"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://localhost:44334/")]
|
||||
public string RESTURI {
|
||||
get {
|
||||
return ((string)(this["RESTURI"]));
|
||||
}
|
||||
set {
|
||||
this["RESTURI"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+" +
|
||||
"DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t" +
|
||||
"7ysgJZWh98=")]
|
||||
public string APIKey {
|
||||
get {
|
||||
return ((string)(this["APIKey"]));
|
||||
}
|
||||
set {
|
||||
this["APIKey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data source=shu01\\shu00;initial catalog=edoka_journale;;persist security info=fal" +
|
||||
"se;workstation id=;packet size=4096;user id=sa;password=*shu29")]
|
||||
public string LogConnectionstring {
|
||||
get {
|
||||
return ((string)(this["LogConnectionstring"]));
|
||||
}
|
||||
set {
|
||||
this["LogConnectionstring"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("dm@tkb.ch")]
|
||||
public string adminmail {
|
||||
get {
|
||||
return ((string)(this["adminmail"]));
|
||||
}
|
||||
set {
|
||||
this["adminmail"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("INT: ")]
|
||||
public string prefix_betreff {
|
||||
get {
|
||||
return ((string)(this["prefix_betreff"]));
|
||||
}
|
||||
set {
|
||||
this["prefix_betreff"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("x:\\ondoc_archivierung_batch_log.txt")]
|
||||
public string logfile {
|
||||
get {
|
||||
return ((string)(this["logfile"]));
|
||||
}
|
||||
set {
|
||||
this["logfile"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
27
OnDoc_ArchivierungBatch/Properties/Settings.settings
Normal file
27
OnDoc_ArchivierungBatch/Properties/Settings.settings
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="OnDoc_ArchivierungBatch.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Connectionstring" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</Value>
|
||||
</Setting>
|
||||
<Setting Name="RESTURI" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://localhost:44334/</Value>
|
||||
</Setting>
|
||||
<Setting Name="APIKey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</Value>
|
||||
</Setting>
|
||||
<Setting Name="LogConnectionstring" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</Value>
|
||||
</Setting>
|
||||
<Setting Name="adminmail" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">dm@tkb.ch</Value>
|
||||
</Setting>
|
||||
<Setting Name="prefix_betreff" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">INT: </Value>
|
||||
</Setting>
|
||||
<Setting Name="logfile" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">x:\ondoc_archivierung_batch_log.txt</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
BIN
OnDoc_ArchivierungBatch/bin/Debug/OnDoc_ArchivierungBatch.exe
Normal file
BIN
OnDoc_ArchivierungBatch/bin/Debug/OnDoc_ArchivierungBatch.exe
Normal file
Binary file not shown.
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="OnDoc_ArchivierungBatch.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
<section name="OnDoc_Paketversand.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
||||
</startup>
|
||||
<userSettings>
|
||||
<OnDoc_ArchivierungBatch.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="APIKey" serializeAs="String">
|
||||
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
|
||||
</setting>
|
||||
<setting name="LogConnectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="adminmail" serializeAs="String">
|
||||
<value>dm@tkb.ch</value>
|
||||
</setting>
|
||||
<setting name="prefix_betreff" serializeAs="String">
|
||||
<value>INT: </value>
|
||||
</setting>
|
||||
<setting name="logfile" serializeAs="String">
|
||||
<value>x:\ondoc_archivierung_batch_log.txt</value>
|
||||
</setting>
|
||||
</OnDoc_ArchivierungBatch.Properties.Settings>
|
||||
<OnDoc_Paketversand.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="APIKey" serializeAs="String">
|
||||
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
|
||||
</setting>
|
||||
<setting name="LogConnectionstring" serializeAs="String">
|
||||
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
|
||||
</setting>
|
||||
<setting name="adminmail" serializeAs="String">
|
||||
<value>dm@tkb.ch</value>
|
||||
</setting>
|
||||
<setting name="prefix_betreff" serializeAs="String">
|
||||
<value>INT: </value>
|
||||
</setting>
|
||||
</OnDoc_Paketversand.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
BIN
OnDoc_ArchivierungBatch/bin/Debug/OnDoc_ArchivierungBatch.pdb
Normal file
BIN
OnDoc_ArchivierungBatch/bin/Debug/OnDoc_ArchivierungBatch.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
8e21d4f72618b178ede1b0d3350c598adaffa977e3573ca2c08ed55ce9b884ec
|
||||
@@ -0,0 +1,7 @@
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\obj\Debug\OnDoc_ArchivierungBatch.csproj.AssemblyReference.cache
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\obj\Debug\OnDoc_ArchivierungBatch.csproj.CoreCompileInputs.cache
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\bin\Debug\OnDoc_ArchivierungBatch.exe.config
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\bin\Debug\OnDoc_ArchivierungBatch.exe
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\bin\Debug\OnDoc_ArchivierungBatch.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\obj\Debug\OnDoc_ArchivierungBatch.exe
|
||||
E:\Software-Projekte\OnDoc\OnDoc\OnDoc_ArchivierungBatch\obj\Debug\OnDoc_ArchivierungBatch.pdb
|
||||
BIN
OnDoc_ArchivierungBatch/obj/Debug/OnDoc_ArchivierungBatch.exe
Normal file
BIN
OnDoc_ArchivierungBatch/obj/Debug/OnDoc_ArchivierungBatch.exe
Normal file
Binary file not shown.
BIN
OnDoc_ArchivierungBatch/obj/Debug/OnDoc_ArchivierungBatch.pdb
Normal file
BIN
OnDoc_ArchivierungBatch/obj/Debug/OnDoc_ArchivierungBatch.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user