Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create title: http://patorjk.com/software/taag
- Create Pastebin Account, and create new paste with direct download link
- Tutorial: https://youtu.be/eRI19VPXHCA
- Codded with <3 in Notepad
- Paste it on first lines
- using System.Net;
- using System.IO;
- Code to paste in VS:
- // Config
- String pname = "Ur program name";
- String dlink = "https://pastebin.com/raw/WITHFILELINK";
- string title = @"
- __ __ ___
- | \/ |_ _ | _ \_ _ ___ __ _ _ _ __ _ _ __
- | |\/| | || | | _/ '_/ _ \/ _` | '_/ _` | ' \
- |_| |_|\_, | |_| |_| \___/\__, |_| \__,_|_|_|_|Template by 00Fx64
- |__/ |___/
- ";
- // ---------- Do not touch here if you do not know ----------
- Console.Title = pname + " Bootstrapper";
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.WriteLine("Enter your name and press Enter");
- Console.ForegroundColor = ConsoleColor.Red;
- var name = Console.ReadLine();
- Console.Clear();
- Console.ForegroundColor = ConsoleColor.DarkCyan;
- Console.WriteLine($"Hello {name}! Welcome to");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine(title);
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("Downloading new Files...");
- WebClient wc = new WebClient();
- String key = wc.DownloadString(dlink);
- String path = @"Files\" + pname + ".exe";
- System.Net.WebClient Dow = new WebClient();
- String patch = (@"Files");
- Directory.CreateDirectory(patch);
- Dow.DownloadFile(key, path);
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine(pname + " Downloaded | Updated!");
- Console.WriteLine($"Now open " + patch + " and Run " + pname + ".exe");
- Console.ReadKey();
Add Comment
Please, Sign In to add comment