Guest User

Untitled

a guest
May 3rd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.73 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading;
  6. using SteamKit2;
  7.  
  8. namespace Bot
  9. {
  10.     class Program
  11.     {
  12.         static void Main(string[] args)
  13.         {
  14.             Steam.Username = "penis";
  15.             Steam.Password = "penis";
  16.             Steam.AuthCode = "";
  17.             Steam.Connect();
  18.  
  19.             bool isComplete = false;
  20.  
  21.             Console.CancelKeyPress += (object s, ConsoleCancelEventArgs e) =>
  22.             {
  23.                 isComplete = true;
  24.             };
  25.  
  26.             while (!isComplete)
  27.             {
  28.                 Steam.Update();
  29.                 Thread.Sleep(1);
  30.             }
  31.  
  32.             Steam.Shutdown();
  33.         }
  34.     }
  35. }
Add Comment
Please, Sign In to add comment