Jump to content
Tuts 4 You

Edit History

Reza-HNA

Reza-HNA

1/10, almost nothing moded

Spoiler

private void button1_Click(object sender, EventArgs e)
{
	this.textBox1.Text.ToCharArray();
	if (this.textBox1.Text.Length == 29)
	{
		if (this.textBox1.Text.Contains("-") && this.textBox1.Text.ToCharArray()[4] == '-' && this.textBox1.Text.ToCharArray()[9] == '-' && this.textBox1.Text.ToCharArray()[14] == '-')
		{
			if (this.textBox1.Text.ToCharArray()[19] == '-')
			{
				if (this.textBox1.Text.ToCharArray()[24] == '-')
				{
					if (!this.method_0())
					{
						MessageBox.Show("Sorry Duke, wrong key. Try again!");
						return;
					}
					this.label2.Visible = true;
					return;
				}
			}
		}
	}
	MessageBox.Show("The entered Key doesnt have the correct format", ":(", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}

 

 

KeygenMe1-cleaned.zip

Reza-HNA

Reza-HNA

1/10, almost nothing moded 😕

Spoiler

private void button1_Click(object sender, EventArgs e)
{
	this.textBox1.Text.ToCharArray();
	if (this.textBox1.Text.Length == 29)
	{
		if (this.textBox1.Text.Contains("-") && this.textBox1.Text.ToCharArray()[4] == '-' && this.textBox1.Text.ToCharArray()[9] == '-' && this.textBox1.Text.ToCharArray()[14] == '-')
		{
			if (this.textBox1.Text.ToCharArray()[19] == '-')
			{
				if (this.textBox1.Text.ToCharArray()[24] == '-')
				{
					if (!this.method_0())
					{
						MessageBox.Show("Sorry Duke, wrong key. Try again!");
						return;
					}
					this.label2.Visible = true;
					return;
				}
			}
		}
	}
	MessageBox.Show("The entered Key doesnt have the correct format", ":(", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}

 

 

KeygenMe1-cleaned.zip

×
×
  • Create New...