# Name Protection

This protection obfuscates the symbols' name and moves it into randomly generated folders. This protection renames folders, classes, method names and fields.

{% code title="Before Obfuscation" %}
```csharp
private void InitializeComponent()
		{
			this.button1 = new Button();
			base.SuspendLayout();
			this.button1.Location = new Point(284, 190);
			this.button1.Name = "button1";
			this.button1.Size = new Size(206, 73);
			this.button1.TabIndex = 0;
			this.button1.Text = "button1";
			this.button1.UseVisualStyleBackColor = true;
			this.button1.Click += this.button1_Click;
			base.AutoScaleDimensions = new SizeF(8f, 16f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new Size(800, 450);
			base.Controls.Add(this.button1);
			base.Name = "Form1";
			this.Text = "Form1";
			base.ResumeLayout(false);
		}

		// Token: 0x04000001 RID: 1
		public string lol = "Hi";

		// Token: 0x04000002 RID: 2
		private IContainer components = null;

		// Token: 0x04000003 RID: 3
		private Button button1;
```
{% endcode %}

{% code title="After Obfuscation" %}
```csharp
private void get_SubcategoryMembership()
		{
			this.InterfaceMarshalType = new Button();
			base.SuspendLayout();
			this.InterfaceMarshalType.Location = new Point(284, 190);
			this.InterfaceMarshalType.Name = "button1";
			this.InterfaceMarshalType.Size = new Size(206, 73);
			this.InterfaceMarshalType.TabIndex = 0;
			this.InterfaceMarshalType.Text = "button1";
			this.InterfaceMarshalType.UseVisualStyleBackColor = true;
			this.InterfaceMarshalType.Click += this.GetOnBeforeCopy;
			base.AutoScaleDimensions = new SizeF(8f, 16f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new Size(800, 450);
			base.Controls.Add(this.InterfaceMarshalType);
			base.Name = "Form1";
			this.Text = "Form1";
			base.ResumeLayout(false);
		}

		// Token: 0x04000001 RID: 1
		public string get_LastCheckTime = "Hi";

		// Token: 0x04000002 RID: 2
		private IContainer get_WindowsIdentity = null;

		// Token: 0x04000003 RID: 3
		private Button InterfaceMarshalType;
```
{% endcode %}
