// Decompiled with JetBrains decompiler
// Type: blue_batch_virus_maker_v_2._4.Computer_Spy
// Assembly: blue batch virus maker v 2.4, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 2DAFA7DD-2FE8-4FC2-9A4A-71538C37F4F9
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Constructor.Win32.BAT.q-08ee2f8c3aa3c7eab228bd2f1b4a63e07fd7671a3929619d4d3486bad87f8200.exe

using blue_batch_virus_maker_v_2._4.My;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Net;
using System.Net.NetworkInformation;
using System.Runtime.CompilerServices;
using System.Windows.Forms;

namespace blue_batch_virus_maker_v_2._4
{
  [DesignerGenerated]
  public class Computer_Spy : Form
  {
    private static List<WeakReference> __ENCList = new List<WeakReference>();
    private IContainer components;
    [AccessedThroughProperty("TextBox1")]
    private TextBox _TextBox1;
    [AccessedThroughProperty("TextBox2")]
    private TextBox _TextBox2;
    [AccessedThroughProperty("TextBox3")]
    private TextBox _TextBox3;
    [AccessedThroughProperty("TextBox4")]
    private TextBox _TextBox4;
    [AccessedThroughProperty("Label1")]
    private Label _Label1;
    [AccessedThroughProperty("Label2")]
    private Label _Label2;
    [AccessedThroughProperty("Label3")]
    private Label _Label3;
    [AccessedThroughProperty("Label4")]
    private Label _Label4;
    [AccessedThroughProperty("Timer1")]
    private System.Windows.Forms.Timer _Timer1;
    [AccessedThroughProperty("Label5")]
    private Label _Label5;
    [AccessedThroughProperty("Label6")]
    private Label _Label6;
    [AccessedThroughProperty("TextBox5")]
    private TextBox _TextBox5;
    [AccessedThroughProperty("TextBox6")]
    private TextBox _TextBox6;
    [AccessedThroughProperty("TextBox7")]
    private TextBox _TextBox7;
    [AccessedThroughProperty("Label7")]
    private Label _Label7;
    [AccessedThroughProperty("Button1")]
    private Button _Button1;
    [AccessedThroughProperty("Button2")]
    private Button _Button2;
    [AccessedThroughProperty("Label8")]
    private Label _Label8;
    [AccessedThroughProperty("ListBox1")]
    private ListBox _ListBox1;
    [AccessedThroughProperty("Button3")]
    private Button _Button3;
    [AccessedThroughProperty("Button4")]
    private Button _Button4;
    [AccessedThroughProperty("Label9")]
    private Label _Label9;

    [DebuggerNonUserCode]
    static Computer_Spy()
    {
    }

    [DebuggerNonUserCode]
    public Computer_Spy()
    {
      this.Load += new EventHandler(this.Form1_Load);
      Computer_Spy.__ENCAddToList((object) this);
      this.InitializeComponent();
    }

    [DebuggerNonUserCode]
    private static void __ENCAddToList(object value)
    {
      lock (Computer_Spy.__ENCList)
      {
        if (Computer_Spy.__ENCList.Count == Computer_Spy.__ENCList.Capacity)
        {
          int index1 = 0;
          int num = checked (Computer_Spy.__ENCList.Count - 1);
          int index2 = 0;
          while (index2 <= num)
          {
            if (Computer_Spy.__ENCList[index2].IsAlive)
            {
              if (index2 != index1)
                Computer_Spy.__ENCList[index1] = Computer_Spy.__ENCList[index2];
              checked { ++index1; }
            }
            checked { ++index2; }
          }
          Computer_Spy.__ENCList.RemoveRange(index1, checked (Computer_Spy.__ENCList.Count - index1));
          Computer_Spy.__ENCList.Capacity = Computer_Spy.__ENCList.Count;
        }
        Computer_Spy.__ENCList.Add(new WeakReference(RuntimeHelpers.GetObjectValue(value)));
      }
    }

    [DebuggerNonUserCode]
    protected override void Dispose(bool disposing)
    {
      try
      {
        if (!disposing || this.components == null)
          return;
        this.components.Dispose();
      }
      finally
      {
        base.Dispose(disposing);
      }
    }

    [DebuggerStepThrough]
    private void InitializeComponent()
    {
      this.components = (IContainer) new System.ComponentModel.Container();
      ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (Computer_Spy));
      this.TextBox1 = new TextBox();
      this.TextBox2 = new TextBox();
      this.TextBox3 = new TextBox();
      this.TextBox4 = new TextBox();
      this.Label1 = new Label();
      this.Label2 = new Label();
      this.Label3 = new Label();
      this.Label4 = new Label();
      this.Timer1 = new System.Windows.Forms.Timer(this.components);
      this.Label5 = new Label();
      this.Label6 = new Label();
      this.TextBox5 = new TextBox();
      this.TextBox6 = new TextBox();
      this.TextBox7 = new TextBox();
      this.Label7 = new Label();
      this.Button1 = new Button();
      this.Button2 = new Button();
      this.Label8 = new Label();
      this.ListBox1 = new ListBox();
      this.Button3 = new Button();
      this.Button4 = new Button();
      this.Label9 = new Label();
      this.SuspendLayout();
      this.TextBox1.BackColor = Color.Black;
      this.TextBox1.ForeColor = Color.Lime;
      TextBox textBox1_1 = this.TextBox1;
      Point point1 = new Point(149, 48);
      Point point2 = point1;
      textBox1_1.Location = point2;
      this.TextBox1.Name = "TextBox1";
      TextBox textBox1_2 = this.TextBox1;
      Size size1 = new Size(192, 20);
      Size size2 = size1;
      textBox1_2.Size = size2;
      this.TextBox1.TabIndex = 0;
      this.TextBox1.TextAlign = HorizontalAlignment.Center;
      this.TextBox2.BackColor = Color.Black;
      this.TextBox2.ForeColor = Color.Lime;
      TextBox textBox2_1 = this.TextBox2;
      point1 = new Point(149, 74);
      Point point3 = point1;
      textBox2_1.Location = point3;
      this.TextBox2.Name = "TextBox2";
      TextBox textBox2_2 = this.TextBox2;
      size1 = new Size(192, 20);
      Size size3 = size1;
      textBox2_2.Size = size3;
      this.TextBox2.TabIndex = 1;
      this.TextBox2.TextAlign = HorizontalAlignment.Center;
      this.TextBox3.BackColor = Color.Black;
      this.TextBox3.ForeColor = Color.Lime;
      TextBox textBox3_1 = this.TextBox3;
      point1 = new Point(149, 100);
      Point point4 = point1;
      textBox3_1.Location = point4;
      this.TextBox3.Name = "TextBox3";
      TextBox textBox3_2 = this.TextBox3;
      size1 = new Size(192, 20);
      Size size4 = size1;
      textBox3_2.Size = size4;
      this.TextBox3.TabIndex = 2;
      this.TextBox3.TextAlign = HorizontalAlignment.Center;
      this.TextBox4.BackColor = Color.Black;
      this.TextBox4.ForeColor = Color.Lime;
      TextBox textBox4_1 = this.TextBox4;
      point1 = new Point(149, 126);
      Point point5 = point1;
      textBox4_1.Location = point5;
      this.TextBox4.Name = "TextBox4";
      TextBox textBox4_2 = this.TextBox4;
      size1 = new Size(192, 20);
      Size size5 = size1;
      textBox4_2.Size = size5;
      this.TextBox4.TabIndex = 3;
      this.TextBox4.TextAlign = HorizontalAlignment.Center;
      this.Label1.AutoSize = true;
      this.Label1.BackColor = Color.Black;
      this.Label1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label1.ForeColor = Color.Lime;
      Label label1_1 = this.Label1;
      point1 = new Point(12, 48);
      Point point6 = point1;
      label1_1.Location = point6;
      this.Label1.Name = "Label1";
      Label label1_2 = this.Label1;
      size1 = new Size(122, 16);
      Size size6 = size1;
      label1_2.Size = size6;
      this.Label1.TabIndex = 4;
      this.Label1.Text = "PhysicalMemory";
      this.Label1.UseWaitCursor = true;
      this.Label2.AutoSize = true;
      this.Label2.BackColor = Color.Black;
      this.Label2.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label2.ForeColor = Color.Lime;
      Label label2_1 = this.Label2;
      point1 = new Point(12, 78);
      Point point7 = point1;
      label2_1.Location = point7;
      this.Label2.Name = "Label2";
      Label label2_2 = this.Label2;
      size1 = new Size(133, 16);
      Size size7 = size1;
      label2_2.Size = size7;
      this.Label2.TabIndex = 5;
      this.Label2.Text = "Available Memory";
      this.Label2.UseWaitCursor = true;
      this.Label3.AutoSize = true;
      this.Label3.BackColor = Color.Black;
      this.Label3.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label3.ForeColor = Color.Lime;
      Label label3_1 = this.Label3;
      point1 = new Point(12, 104);
      Point point8 = point1;
      label3_1.Location = point8;
      this.Label3.Name = "Label3";
      Label label3_2 = this.Label3;
      size1 = new Size(107, 16);
      Size size8 = size1;
      label3_2.Size = size8;
      this.Label3.TabIndex = 6;
      this.Label3.Text = "VirtualMemory";
      this.Label3.UseWaitCursor = true;
      this.Label4.AutoSize = true;
      this.Label4.BackColor = Color.Black;
      this.Label4.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label4.ForeColor = Color.Lime;
      Label label4_1 = this.Label4;
      point1 = new Point(12, 130);
      Point point9 = point1;
      label4_1.Location = point9;
      this.Label4.Name = "Label4";
      Label label4_2 = this.Label4;
      size1 = new Size(133, 16);
      Size size9 = size1;
      label4_2.Size = size9;
      this.Label4.TabIndex = 7;
      this.Label4.Text = "Available Memory";
      this.Label4.UseWaitCursor = true;
      this.Timer1.Enabled = true;
      this.Label5.AutoSize = true;
      this.Label5.BackColor = Color.Black;
      this.Label5.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label5.ForeColor = Color.Lime;
      Label label5_1 = this.Label5;
      point1 = new Point(12, 182);
      Point point10 = point1;
      label5_1.Location = point10;
      this.Label5.Name = "Label5";
      Label label5_2 = this.Label5;
      size1 = new Size(79, 16);
      Size size10 = size1;
      label5_2.Size = size10;
      this.Label5.TabIndex = 9;
      this.Label5.Text = "Your Time";
      this.Label5.UseWaitCursor = true;
      this.Label6.AutoSize = true;
      this.Label6.BackColor = Color.Black;
      this.Label6.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label6.ForeColor = Color.Lime;
      Label label6_1 = this.Label6;
      point1 = new Point(12, 156);
      Point point11 = point1;
      label6_1.Location = point11;
      this.Label6.Name = "Label6";
      Label label6_2 = this.Label6;
      size1 = new Size(119, 16);
      Size size11 = size1;
      label6_2.Size = size11;
      this.Label6.TabIndex = 8;
      this.Label6.Text = "Computer Name";
      this.Label6.UseWaitCursor = true;
      this.TextBox5.BackColor = Color.Black;
      this.TextBox5.ForeColor = Color.Lime;
      TextBox textBox5_1 = this.TextBox5;
      point1 = new Point(149, 178);
      Point point12 = point1;
      textBox5_1.Location = point12;
      this.TextBox5.Name = "TextBox5";
      TextBox textBox5_2 = this.TextBox5;
      size1 = new Size(192, 20);
      Size size12 = size1;
      textBox5_2.Size = size12;
      this.TextBox5.TabIndex = 11;
      this.TextBox5.TextAlign = HorizontalAlignment.Center;
      this.TextBox6.BackColor = Color.Black;
      this.TextBox6.ForeColor = Color.Lime;
      TextBox textBox6_1 = this.TextBox6;
      point1 = new Point(149, 152);
      Point point13 = point1;
      textBox6_1.Location = point13;
      this.TextBox6.Name = "TextBox6";
      TextBox textBox6_2 = this.TextBox6;
      size1 = new Size(192, 20);
      Size size13 = size1;
      textBox6_2.Size = size13;
      this.TextBox6.TabIndex = 10;
      this.TextBox6.TextAlign = HorizontalAlignment.Center;
      this.TextBox7.BackColor = Color.Black;
      this.TextBox7.ForeColor = Color.Lime;
      TextBox textBox7_1 = this.TextBox7;
      point1 = new Point(149, 205);
      Point point14 = point1;
      textBox7_1.Location = point14;
      this.TextBox7.Name = "TextBox7";
      TextBox textBox7_2 = this.TextBox7;
      size1 = new Size(192, 20);
      Size size14 = size1;
      textBox7_2.Size = size14;
      this.TextBox7.TabIndex = 12;
      this.TextBox7.TextAlign = HorizontalAlignment.Center;
      this.Label7.AutoSize = true;
      this.Label7.BackColor = Color.Black;
      this.Label7.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
      this.Label7.ForeColor = Color.Lime;
      Label label7_1 = this.Label7;
      point1 = new Point(12, 205);
      Point point15 = point1;
      label7_1.Location = point15;
      this.Label7.Name = "Label7";
      Label label7_2 = this.Label7;
      size1 = new Size(125, 16);
      Size size15 = size1;
      label7_2.Size = size15;
      this.Label7.TabIndex = 13;
      this.Label7.Text = "Local Ip Address";
      this.Label7.UseWaitCursor = true;
      this.Button1.BackColor = Color.Black;
      this.Button1.ForeColor = Color.Lime;
      Button button1_1 = this.Button1;
      point1 = new Point(36, 228);
      Point point16 = point1;
      button1_1.Location = point16;
      this.Button1.Name = "Button1";
      Button button1_2 = this.Button1;
      size1 = new Size(218, 23);
      Size size16 = size1;
      button1_2.Size = size16;
      this.Button1.TabIndex = 15;
      this.Button1.Text = "Get Mac Address";
      this.Button1.UseVisualStyleBackColor = false;
      this.Button2.BackColor = Color.Black;
      this.Button2.ForeColor = Color.Lime;
      Button button2_1 = this.Button2;
      point1 = new Point(235, 15);
      Point point17 = point1;
      button2_1.Location = point17;
      this.Button2.Name = "Button2";
      Button button2_2 = this.Button2;
      size1 = new Size(106, 23);
      Size size17 = size1;
      button2_2.Size = size17;
      this.Button2.TabIndex = 16;
      this.Button2.Text = "Back";
      this.Button2.UseVisualStyleBackColor = false;
      this.Label8.AutoSize = true;
      this.Label8.BackColor = Color.Black;
      this.Label8.Font = new Font("Microsoft Sans Serif", 11.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
      this.Label8.ForeColor = Color.White;
      Label label8_1 = this.Label8;
      point1 = new Point(45, 16);
      Point point18 = point1;
      label8_1.Location = point18;
      this.Label8.Name = "Label8";
      Label label8_2 = this.Label8;
      size1 = new Size(124, 18);
      Size size18 = size1;
      label8_2.Size = size18;
      this.Label8.TabIndex = 17;
      this.Label8.Text = "System Spy V 1.2";
      this.ListBox1.BackColor = Color.Black;
      this.ListBox1.ForeColor = Color.Lime;
      this.ListBox1.FormattingEnabled = true;
      this.ListBox1.Items.AddRange(new object[1]
      {
        (object) ""
      });
      ListBox listBox1_1 = this.ListBox1;
      point1 = new Point(352, 52);
      Point point19 = point1;
      listBox1_1.Location = point19;
      this.ListBox1.Name = "ListBox1";
      ListBox listBox1_2 = this.ListBox1;
      size1 = new Size(210, 199);
      Size size19 = size1;
      listBox1_2.Size = size19;
      this.ListBox1.TabIndex = 21;
      this.Button3.BackColor = Color.Black;
      this.Button3.ForeColor = Color.Red;
      Button button3_1 = this.Button3;
      point1 = new Point(352, 23);
      Point point20 = point1;
      button3_1.Location = point20;
      this.Button3.Name = "Button3";
      Button button3_2 = this.Button3;
      size1 = new Size(75, 23);
      Size size20 = size1;
      button3_2.Size = size20;
      this.Button3.TabIndex = 22;
      this.Button3.Text = "Refresh";
      this.Button3.UseVisualStyleBackColor = false;
      this.Button4.BackColor = Color.Black;
      this.Button4.ForeColor = Color.Red;
      Button button4_1 = this.Button4;
      point1 = new Point(487, 23);
      Point point21 = point1;
      button4_1.Location = point21;
      this.Button4.Name = "Button4";
      Button button4_2 = this.Button4;
      size1 = new Size(75, 23);
      Size size21 = size1;
      button4_2.Size = size21;
      this.Button4.TabIndex = 23;
      this.Button4.Text = "Kill";
      this.Button4.UseVisualStyleBackColor = false;
      this.Label9.AutoSize = true;
      this.Label9.BackColor = Color.Black;
      this.Label9.Font = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, (byte) 0);
      this.Label9.ForeColor = Color.Yellow;
      Label label9_1 = this.Label9;
      point1 = new Point(390, 0);
      Point point22 = point1;
      label9_1.Location = point22;
      this.Label9.Name = "Label9";
      Label label9_2 = this.Label9;
      size1 = new Size(148, 20);
      Size size22 = size1;
      label9_2.Size = size22;
      this.Label9.TabIndex = 24;
      this.Label9.Text = "Process manager";
      this.AutoScaleDimensions = new SizeF(6f, 13f);
      this.AutoScaleMode = AutoScaleMode.Font;
      this.BackgroundImage = (Image) componentResourceManager.GetObject("$this.BackgroundImage");
      this.BackgroundImageLayout = ImageLayout.Stretch;
      size1 = new Size(570, 257);
      this.ClientSize = size1;
      this.ControlBox = false;
      this.Controls.Add((Control) this.Label9);
      this.Controls.Add((Control) this.Button4);
      this.Controls.Add((Control) this.Button3);
      this.Controls.Add((Control) this.ListBox1);
      this.Controls.Add((Control) this.Label8);
      this.Controls.Add((Control) this.Button2);
      this.Controls.Add((Control) this.Button1);
      this.Controls.Add((Control) this.Label7);
      this.Controls.Add((Control) this.TextBox7);
      this.Controls.Add((Control) this.TextBox5);
      this.Controls.Add((Control) this.TextBox6);
      this.Controls.Add((Control) this.Label5);
      this.Controls.Add((Control) this.Label6);
      this.Controls.Add((Control) this.Label4);
      this.Controls.Add((Control) this.Label3);
      this.Controls.Add((Control) this.Label2);
      this.Controls.Add((Control) this.Label1);
      this.Controls.Add((Control) this.TextBox4);
      this.Controls.Add((Control) this.TextBox3);
      this.Controls.Add((Control) this.TextBox2);
      this.Controls.Add((Control) this.TextBox1);
      this.Name = nameof (Computer_Spy);
      this.ShowIcon = false;
      this.StartPosition = FormStartPosition.CenterScreen;
      this.Text = "Computer Spy v1.0";
      this.ResumeLayout(false);
      this.PerformLayout();
    }

    internal virtual TextBox TextBox1
    {
      [DebuggerNonUserCode] get => this._TextBox1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox1 = value;
    }

    internal virtual TextBox TextBox2
    {
      [DebuggerNonUserCode] get => this._TextBox2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox2 = value;
    }

    internal virtual TextBox TextBox3
    {
      [DebuggerNonUserCode] get => this._TextBox3;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox3 = value;
    }

    internal virtual TextBox TextBox4
    {
      [DebuggerNonUserCode] get => this._TextBox4;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox4 = value;
    }

    internal virtual Label Label1
    {
      [DebuggerNonUserCode] get => this._Label1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label1 = value;
    }

    internal virtual Label Label2
    {
      [DebuggerNonUserCode] get => this._Label2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
    }

    internal virtual Label Label3
    {
      [DebuggerNonUserCode] get => this._Label3;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
    }

    internal virtual Label Label4
    {
      [DebuggerNonUserCode] get => this._Label4;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
    }

    internal virtual System.Windows.Forms.Timer Timer1
    {
      [DebuggerNonUserCode] get => this._Timer1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Timer1_Tick);
        if (this._Timer1 != null)
          this._Timer1.Tick -= eventHandler;
        this._Timer1 = value;
        if (this._Timer1 == null)
          return;
        this._Timer1.Tick += eventHandler;
      }
    }

    internal virtual Label Label5
    {
      [DebuggerNonUserCode] get => this._Label5;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
    }

    internal virtual Label Label6
    {
      [DebuggerNonUserCode] get => this._Label6;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label6 = value;
    }

    internal virtual TextBox TextBox5
    {
      [DebuggerNonUserCode] get => this._TextBox5;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox5 = value;
    }

    internal virtual TextBox TextBox6
    {
      [DebuggerNonUserCode] get => this._TextBox6;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox6 = value;
    }

    internal virtual TextBox TextBox7
    {
      [DebuggerNonUserCode] get => this._TextBox7;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox7 = value;
    }

    internal virtual Label Label7
    {
      [DebuggerNonUserCode] get => this._Label7;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label7 = value;
    }

    internal virtual Button Button1
    {
      [DebuggerNonUserCode] get => this._Button1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Button1_Click_1);
        if (this._Button1 != null)
          this._Button1.Click -= eventHandler;
        this._Button1 = value;
        if (this._Button1 == null)
          return;
        this._Button1.Click += eventHandler;
      }
    }

    internal virtual Button Button2
    {
      [DebuggerNonUserCode] get => this._Button2;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Button2_Click);
        if (this._Button2 != null)
          this._Button2.Click -= eventHandler;
        this._Button2 = value;
        if (this._Button2 == null)
          return;
        this._Button2.Click += eventHandler;
      }
    }

    internal virtual Label Label8
    {
      [DebuggerNonUserCode] get => this._Label8;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label8 = value;
    }

    internal virtual ListBox ListBox1
    {
      [DebuggerNonUserCode] get => this._ListBox1;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._ListBox1 = value;
    }

    internal virtual Button Button3
    {
      [DebuggerNonUserCode] get => this._Button3;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Button3_Click);
        if (this._Button3 != null)
          this._Button3.Click -= eventHandler;
        this._Button3 = value;
        if (this._Button3 == null)
          return;
        this._Button3.Click += eventHandler;
      }
    }

    internal virtual Button Button4
    {
      [DebuggerNonUserCode] get => this._Button4;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
      {
        EventHandler eventHandler = new EventHandler(this.Button4_Click);
        if (this._Button4 != null)
          this._Button4.Click -= eventHandler;
        this._Button4 = value;
        if (this._Button4 == null)
          return;
        this._Button4.Click += eventHandler;
      }
    }

    internal virtual Label Label9
    {
      [DebuggerNonUserCode] get => this._Label9;
      [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label9 = value;
    }

    private void Timer1_Tick(object sender, EventArgs e)
    {
      this.TextBox1.Text = Conversions.ToString(MyProject.Computer.Info.TotalPhysicalMemory);
      this.TextBox2.Text = Conversions.ToString(MyProject.Computer.Info.AvailablePhysicalMemory);
      this.TextBox3.Text = Conversions.ToString(MyProject.Computer.Info.TotalVirtualMemory);
      this.TextBox4.Text = Conversions.ToString(MyProject.Computer.Info.AvailableVirtualMemory);
      this.TextBox5.Text = Conversions.ToString(DateAndTime.TimeOfDay);
      this.TextBox6.Text = Environment.MachineName;
    }

    private void Form1_Load(object sender, EventArgs e)
    {
      this.TextBox7.Text = new WebClient().DownloadString("http://www.whatismyip.com/automation/n09230945.asp");
      this.GetProcesses();
    }

    private void Button1_Click(object sender, EventArgs e)
    {
    }

    private void Button1_Click_1(object sender, EventArgs e)
    {
      NetworkInterface[] networkInterfaces = NetworkInterface.GetAllNetworkInterfaces();
      int index = 0;
      if (index >= networkInterfaces.Length)
        return;
      NetworkInterface networkInterface = networkInterfaces[index];
      int num = (int) Interaction.MsgBox((object) string.Format("The MAC address of {0} is{1}{2}", (object) networkInterface.Description, (object) Environment.NewLine, (object) networkInterface.GetPhysicalAddress()));
    }

    private void Button2_Click(object sender, EventArgs e)
    {
      MyProject.Forms.batch_maker.Show();
      this.Hide();
    }

    private void Button3_Click(object sender, EventArgs e) => this.GetProcesses();

    private void Button4_Click(object sender, EventArgs e) => this.KillProcess();

    public void GetProcesses()
    {
      this.ListBox1.Items.Clear();
      Process[] processes = Process.GetProcesses();
      int index = 0;
      while (index < processes.Length)
      {
        this.ListBox1.Items.Add((object) processes[index].ProcessName);
        checked { ++index; }
      }
    }

    public void KillProcess()
    {
      try
      {
        if (Operators.ConditionalCompareObjectEqual(this.ListBox1.SelectedItem, (object) "", false))
        {
          int num1 = (int) Interaction.MsgBox((object) "Please Choose a Process", MsgBoxStyle.Critical);
        }
        else
        {
          Process[] processes = Process.GetProcesses();
          int index = 0;
          while (index < processes.Length)
          {
            Process process = processes[index];
            if (Operators.ConditionalCompareObjectEqual((object) process.ProcessName, this.ListBox1.SelectedItem, false))
              process.Kill();
            checked { ++index; }
          }
          int num2 = (int) Interaction.MsgBox((object) "Process Killed", MsgBoxStyle.Information);
          this.GetProcesses();
        }
      }
      catch (Exception ex)
      {
        ProjectData.SetProjectError(ex);
        int num = (int) Interaction.MsgBox((object) "FAILED", MsgBoxStyle.Critical);
        ProjectData.ClearProjectError();
      }
    }
  }
}
