update 0250704
This commit is contained in:
@@ -69,6 +69,9 @@ namespace OnDoc.Klassen
|
||||
public static bool AutomArchivierung { get; set; } = false;
|
||||
|
||||
public static string SignApp { get; set; } = "";
|
||||
|
||||
public static string MachinName { get; set; } = "";
|
||||
public static bool O365 { get; set; } = false;
|
||||
static AppParams()
|
||||
{
|
||||
|
||||
@@ -84,6 +87,21 @@ namespace OnDoc.Klassen
|
||||
logconnectionstring = StringCipher.Decrypt(logconnectionstring, "i%!k!7pab%bNLdA5hE4pkR4XaB%E^jB3d9tHuQ4pbF&BZjF7SB#WBWit5#HrbJiLrLVm");
|
||||
DB db = new DB(connectionstring);
|
||||
db.Get_Tabledata("Select * from ondoc_appParams where usedbparams=1", false, true);
|
||||
//MachinName = System.Environment.MachineName;
|
||||
//O365=false;
|
||||
//try
|
||||
//{
|
||||
// List<List<string>> groups = new List<List<string>>();
|
||||
// List<string> current = null;
|
||||
// foreach (var line in System.IO.File.ReadAllLines(Application.StartupPath+@"o365machines.txt"))
|
||||
// {
|
||||
// if (line.Contains(MachinName))
|
||||
// {
|
||||
// O365 = true;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
//catch { O365 = false; }
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
tempdir = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
|
||||
Reference in New Issue
Block a user