diff --git a/Driver Easy Loader.sln b/Driver Easy Loader.sln new file mode 100644 index 0000000..eaf1567 --- /dev/null +++ b/Driver Easy Loader.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33122.133 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Driver Easy Loader", "Driver Easy Loader\Driver Easy Loader.csproj", "{63E7B5B9-8E79-41E2-9301-53D71799BA01}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {63E7B5B9-8E79-41E2-9301-53D71799BA01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {63E7B5B9-8E79-41E2-9301-53D71799BA01}.Debug|Any CPU.Build.0 = Debug|Any CPU + {63E7B5B9-8E79-41E2-9301-53D71799BA01}.Release|Any CPU.ActiveCfg = Release|Any CPU + {63E7B5B9-8E79-41E2-9301-53D71799BA01}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C4E0DF5A-7C62-40A9-A40D-2A093EE869C6} + EndGlobalSection +EndGlobal diff --git a/Driver Easy Loader/Driver Easy Loader.csproj b/Driver Easy Loader/Driver Easy Loader.csproj new file mode 100644 index 0000000..9cb5234 --- /dev/null +++ b/Driver Easy Loader/Driver Easy Loader.csproj @@ -0,0 +1,86 @@ + + + + + Debug + AnyCPU + {63E7B5B9-8E79-41E2-9301-53D71799BA01} + WinExe + Driver_Easy_Loader + Driver Easy Loader + v3.5 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + DriverEasy.ico + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + \ No newline at end of file diff --git a/Driver Easy Loader/DriverEasy.ico b/Driver Easy Loader/DriverEasy.ico new file mode 100644 index 0000000..661ddec Binary files /dev/null and b/Driver Easy Loader/DriverEasy.ico differ diff --git a/Driver Easy Loader/Form1.Designer.cs b/Driver Easy Loader/Form1.Designer.cs new file mode 100644 index 0000000..5d10bf0 --- /dev/null +++ b/Driver Easy Loader/Form1.Designer.cs @@ -0,0 +1,229 @@ +namespace Driver_Easy_Loader +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label4 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.button1 = new System.Windows.Forms.Button(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.radioButton3 = new System.Windows.Forms.RadioButton(); + this.radioButton2 = new System.Windows.Forms.RadioButton(); + this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.SuspendLayout(); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Location = new System.Drawing.Point(2, 1); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(285, 142); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Status"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(10, 65); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(121, 13); + this.label4.TabIndex = 10; + this.label4.Text = "Loader installed: {null}"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(10, 42); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(123, 13); + this.label3.TabIndex = 9; + this.label3.Text = "License installed: {null}"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(10, 21); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(133, 13); + this.label2.TabIndex = 8; + this.label2.Text = "Running as admin: {null}"; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.button1); + this.groupBox2.Controls.Add(this.checkBox1); + this.groupBox2.Controls.Add(this.radioButton3); + this.groupBox2.Controls.Add(this.radioButton2); + this.groupBox2.Controls.Add(this.radioButton1); + this.groupBox2.Location = new System.Drawing.Point(293, 1); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(285, 142); + this.groupBox2.TabIndex = 1; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Settings"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(122, 19); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(157, 40); + this.button1.TabIndex = 4; + this.button1.Text = "Why are some settings unavailable?"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(6, 88); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(152, 17); + this.checkBox1.TabIndex = 3; + this.checkBox1.Text = "Kill Driver Easy processes"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // radioButton3 + // + this.radioButton3.AutoSize = true; + this.radioButton3.Location = new System.Drawing.Point(6, 65); + this.radioButton3.Name = "radioButton3"; + this.radioButton3.Size = new System.Drawing.Size(145, 17); + this.radioButton3.TabIndex = 2; + this.radioButton3.TabStop = true; + this.radioButton3.Text = "Install License + Loader"; + this.radioButton3.UseVisualStyleBackColor = true; + // + // radioButton2 + // + this.radioButton2.AutoSize = true; + this.radioButton2.Location = new System.Drawing.Point(6, 42); + this.radioButton2.Name = "radioButton2"; + this.radioButton2.Size = new System.Drawing.Size(94, 17); + this.radioButton2.TabIndex = 1; + this.radioButton2.TabStop = true; + this.radioButton2.Text = "Install Loader"; + this.radioButton2.UseVisualStyleBackColor = true; + // + // radioButton1 + // + this.radioButton1.AutoSize = true; + this.radioButton1.Checked = true; + this.radioButton1.Location = new System.Drawing.Point(6, 19); + this.radioButton1.Name = "radioButton1"; + this.radioButton1.Size = new System.Drawing.Size(96, 17); + this.radioButton1.TabIndex = 0; + this.radioButton1.TabStop = true; + this.radioButton1.Text = "Install License"; + this.radioButton1.UseVisualStyleBackColor = true; + // + // button2 + // + this.button2.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button2.Location = new System.Drawing.Point(45, 149); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(174, 55); + this.button2.TabIndex = 5; + this.button2.Text = "Install"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button3.Location = new System.Drawing.Point(250, 149); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(174, 55); + this.button3.TabIndex = 6; + this.button3.Text = "Uninstall"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(495, 186); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(77, 13); + this.label1.TabIndex = 7; + this.label1.Text = "Version: {null}"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(592, 208); + this.Controls.Add(this.label1); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "Form1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Driver Easy Loader by Vichingo455"; + this.Load += new System.EventHandler(this.Form1_Load); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.RadioButton radioButton1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.RadioButton radioButton3; + private System.Windows.Forms.RadioButton radioButton2; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label2; + } +} + diff --git a/Driver Easy Loader/Form1.cs b/Driver Easy Loader/Form1.cs new file mode 100644 index 0000000..01c5b16 --- /dev/null +++ b/Driver Easy Loader/Form1.cs @@ -0,0 +1,200 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using System.IO; +using Driver_Easy_Loader; +using System.Reflection; +using System.Diagnostics; +using Driver_Easy_Loader.Properties; + +namespace Driver_Easy_Loader +{ + public partial class Form1 : Form + { + + public Form1() + { + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + string LoaderPath = @"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat"; + if (File.Exists(LoaderPath)) + { + variables.isloaderinstalled = true; + } + string licensepath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat"; + if (File.Exists(licensepath)) + { + variables.islicenseinstalled = true; + } + label1.Text = "Version: " + Application.ProductVersion.ToString(); + if (variables.isadmin) + { + label2.Text = "Running as admin: Yes"; + button1.Visible = false; + } + else + { + label2.Text = "Running as admin: No"; + radioButton2.Enabled = false; + radioButton3.Enabled = false; + checkBox1.Enabled = false; + } + if (variables.islicenseinstalled) + { + label3.Text = "License installed: Yes"; + } + else + { + label3.Text = "License installed: No"; + } + if (variables.isloaderinstalled) + { + label4.Text = "Loader installed: Yes"; + } + else + { + label4.Text = "Loader installed: No"; + } + } + + private void button1_Click(object sender, EventArgs e) + { + MessageBox.Show("Some settings require admin privileges. To enable them, restart the program as administrator","Why are some settings unavailable?"); + } + + private void button2_Click(object sender, EventArgs e) + { + if (checkBox1.Checked) //user choice: Kill Driver Easy automatically, may require admin privileges + { + foreach (var process in Process.GetProcessesByName("DriverEasy")) + { + try + { + process.Kill(); + } + catch + { + MessageBox.Show("Can't kill Driver Easy. Patching aborted","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Error); + return; + } + } + } + else + { + MessageBox.Show("Make sure to quit Driver Easy, then hit OK to start patching","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Warning); + } + if (radioButton1.Checked) + { + try + { + if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat")) //delete existing license + { + File.Delete(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat"); + } + File.WriteAllBytes(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)+@"\Easeware\DriverEasy\License.dat",Resources.License); + } + catch + { + MessageBox.Show("Can't patch Driver Easy. Make sure that Driver Easy is installed and closed","Driver Easy Loader",MessageBoxButtons.OK,MessageBoxIcon.Error); + return; + } + } + else if (radioButton2.Checked) + { + try + { + if (!Directory.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy")) + { + Directory.CreateDirectory(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy"); + } + if (File.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat")) + { + File.Delete(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat"); + } + File.WriteAllBytes(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat", Resources.License); + } + catch + { + MessageBox.Show("Can't patch Driver Easy. Make sure that Driver Easy is installed and closed", "Driver Easy Loader", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + else if (radioButton3.Checked) + { + try + { + if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat")) //delete existing license + { + File.Delete(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat"); + } + File.WriteAllBytes(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat", Resources.License); + if (!Directory.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy")) + { + Directory.CreateDirectory(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy"); + } + if (File.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat")) + { + File.Delete(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat"); + } + File.WriteAllBytes(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy\License.dat", Resources.License); + } + catch + { + MessageBox.Show("Can't patch Driver Easy. Make sure that Driver Easy is installed and closed", "Driver Easy Loader", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + MessageBox.Show("Patch successful!","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Information); + Environment.Exit(0); + } + + private void button3_Click(object sender, EventArgs e) + { + if (checkBox1.Checked) //user choice: Kill Driver Easy automatically, may require admin privileges + { + foreach (var process in Process.GetProcessesByName("DriverEasy")) + { + try + { + process.Kill(); + } + catch + { + MessageBox.Show("Can't kill Driver Easy. Patching aborted", "Driver Easy Loader by Vichingo455", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + } + else + { + MessageBox.Show("Make sure to quit Driver Easy, then hit OK to start patching", "Driver Easy Loader by Vichingo455", MessageBoxButtons.OK, MessageBoxIcon.Warning); + } + try + { + if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat")) //delete existing license + { + File.Delete(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Easeware\DriverEasy\License.dat"); + } + if (Directory.Exists(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy")) + { + Directory.Delete(@"C:\Users\Default\AppData\Roaming\Easeware\DriverEasy"); + } + } + catch + { + MessageBox.Show("Can't uninstall the loader. Was it installed in the past? Is Driver Easy Installed and Closed?","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Error); + return; + } + MessageBox.Show("Loader uninstalled successfully","Driver Easy Loader by Vichingo455",MessageBoxButtons.OK,MessageBoxIcon.Information); + Environment.Exit(0); + } + } +} diff --git a/Driver Easy Loader/Form1.resx b/Driver Easy Loader/Form1.resx new file mode 100644 index 0000000..7080a7d --- /dev/null +++ b/Driver Easy Loader/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Driver Easy Loader/Program.cs b/Driver Easy Loader/Program.cs new file mode 100644 index 0000000..320bae0 --- /dev/null +++ b/Driver Easy Loader/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Principal; +using System.Windows.Forms; + +namespace Driver_Easy_Loader +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + WindowsPrincipal pricipal = new WindowsPrincipal(WindowsIdentity.GetCurrent()); + bool hasAdministrativeRight = pricipal.IsInRole(WindowsBuiltInRole.Administrator); + if (hasAdministrativeRight) + { + variables.isadmin = true; + } + Application.Run(new Form1()); + } + } +} diff --git a/Driver Easy Loader/Properties/AssemblyInfo.cs b/Driver Easy Loader/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6a55754 --- /dev/null +++ b/Driver Easy Loader/Properties/AssemblyInfo.cs @@ -0,0 +1,38 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Driver Easy Loader")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Vichingo455")] +[assembly: AssemblyProduct("Driver Easy Loader by Vichingo455")] +[assembly: AssemblyCopyright("Copyright © 2022 Vichingo455. All rights reserved")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(true)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("63e7b5b9-8e79-41e2-9301-53d71799ba01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: NeutralResourcesLanguage("en")] diff --git a/Driver Easy Loader/Properties/Resources.Designer.cs b/Driver Easy Loader/Properties/Resources.Designer.cs new file mode 100644 index 0000000..3a92384 --- /dev/null +++ b/Driver Easy Loader/Properties/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Driver_Easy_Loader.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 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("Driver_Easy_Loader.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 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 { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] License { + get { + object obj = ResourceManager.GetObject("License", resourceCulture); + return ((byte[])(obj)); + } + } + } +} diff --git a/Driver Easy Loader/Properties/Resources.resx b/Driver Easy Loader/Properties/Resources.resx new file mode 100644 index 0000000..4074856 --- /dev/null +++ b/Driver Easy Loader/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\License.dat;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Driver Easy Loader/Properties/Settings.Designer.cs b/Driver Easy Loader/Properties/Settings.Designer.cs new file mode 100644 index 0000000..efa2298 --- /dev/null +++ b/Driver Easy Loader/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Driver_Easy_Loader.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Driver Easy Loader/Properties/Settings.settings b/Driver Easy Loader/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Driver Easy Loader/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Driver Easy Loader/Resources/License.dat b/Driver Easy Loader/Resources/License.dat new file mode 100644 index 0000000..4420b3a --- /dev/null +++ b/Driver Easy Loader/Resources/License.dat @@ -0,0 +1,8 @@ + + + +true +34600 +Registered to: superjare23 on Youtube +Normal + diff --git a/Driver Easy Loader/variables.cs b/Driver Easy Loader/variables.cs new file mode 100644 index 0000000..d1ae010 --- /dev/null +++ b/Driver Easy Loader/variables.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Driver_Easy_Loader +{ + internal class variables + { + public static bool islicenseinstalled = false; //false by fallback + public static bool isloaderinstalled = false; //false by fallback + public static bool isadmin = false; //false by fallback + } +}