Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (a == this.textBox1.Text)
- {
- MessageBox.Show("Clave guardada por 5 horas!");
- string path = "data.ejd";
- string currentDirectory = Directory.GetCurrentDirectory();
- string path2 = Path.Combine(currentDirectory, path);
- FileStream fileStream = File.Create(path2);
- fileStream.Close();
- File.WriteAllText(path2, DateTime.UtcNow.AddHours(5.0).ToString("ttyyddmmMMh"));
- MatSploitUI mat = new MatSploitUI();
- mat.Show();
- this.Hide();
- }
- else
- {
- this.textBox1.Text = "Incorrect!";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement