mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-16 12:53:39 +00:00
BIG TCP Overhaul and passcode start
- Switch to Serilog for console logging - TCPSender is now persistent (let's hope) so can be used with passcode protected workspaces - UDP connection works with passcodes just can't timeout - Passcode prompt is automatic for workspaces that are password protected
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using Serilog;
|
||||
using System.Collections.ObjectModel;
|
||||
using Acr.Settings;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace qController
|
||||
|
||||
if (qInstances == null)
|
||||
{
|
||||
Console.WriteLine("QSTORAGE - No qInstance exists creating one");
|
||||
Log.Debug("QSTORAGE - No qInstance exists creating one");
|
||||
qInstances = new ObservableCollection<QInstance>();
|
||||
updateStorage();
|
||||
}
|
||||
@@ -54,7 +54,7 @@ namespace qController
|
||||
public static bool Contains(string name, string address){
|
||||
foreach (var item in qInstances)
|
||||
{
|
||||
//Console.WriteLine("Item name: " + item.name + " Found Name: " + name);
|
||||
//Log.Debug("Item name: " + item.name + " Found Name: " + name);
|
||||
if (item.address == address)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user