View difference between Paste ID: QHi3Qn7M and 8MU3GzSh
SHOW: | | - or go back to the newest paste.
1
Create title: http://patorjk.com/software/taag
2
Create Pastebin Account, and create new paste with direct download link
3
Tutorial: https://youtu.be/eRI19VPXHCA
4
Codded with <3 in Notepad
5
6
Paste it on first lines
7
8
using System.Net;
9
using System.IO;
10
11
Code to paste in VS:
12
13
// Config
14
String pname = "Ur program name";
15
String dlink = "https://pastebin.com/raw/WITHFILELINK";
16
string title = @"
17
  __  __        ___                              
18
 |  \/  |_  _  | _ \_ _ ___  __ _ _ _ __ _ _ __  
19
 | |\/| | || | |  _/ '_/ _ \/ _` | '_/ _` | '  \ 
20
 |_|  |_|\_, | |_| |_| \___/\__, |_| \__,_|_|_|_|Template by 00Fx64
21
         |__/               |___/                
22
";
23
// ---------- Do not touch here if you do not know ----------
24
Console.Title = pname + " Bootstrapper";
25
Console.ForegroundColor = ConsoleColor.Blue;
26
Console.WriteLine("Enter your name and press Enter");
27
Console.ForegroundColor = ConsoleColor.Red;
28
var name = Console.ReadLine();
29
Console.Clear();
30
Console.ForegroundColor = ConsoleColor.DarkCyan;
31
Console.WriteLine($"Hello {name}! Welcome to");
32
Console.ForegroundColor = ConsoleColor.Cyan;
33
Console.WriteLine(title);
34
Console.ForegroundColor = ConsoleColor.Green;
35
Console.WriteLine("Downloading new Files...");
36
WebClient wc = new WebClient();
37
String key = wc.DownloadString(dlink);
38
String path = @"Files\" + pname + ".exe";
39
System.Net.WebClient Dow = new WebClient();
40
String patch = (@"Files");
41
Directory.CreateDirectory(patch);
42
Dow.DownloadFile(key, path);
43
Console.ForegroundColor = ConsoleColor.Green;
44
Console.WriteLine(pname + " Downloaded | Updated!");
45
Console.WriteLine($"Now open " + patch + " and Run " + pname + ".exe");
46
Console.ReadKey();