Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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"; //Change this to the type of file you are downloading e.g. .rar or .dll or .lua etc.
- 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"); //Change this to the type of file you are downloading e.g. .rar or .dll or .lua etc.
- Console.ReadKey();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement