Guest User

Untitled

a guest
Aug 5th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.75 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using SteamKit2;
  6.  
  7. namespace Evaporator
  8. {
  9.     class Program
  10.     {
  11.         static int Main(string[] args)
  12.         {
  13.             Console.Write("Logging in... ");
  14.             try
  15.             {
  16.                 Steam3.UserName = "x";
  17.                 Steam3.Password = "x";
  18.                 Steam3.Initialize(true);
  19.                 Steam3.Connect();
  20.             }
  21.             catch (Steam3Exception ex)
  22.             {
  23.                 Console.WriteLine("FAIL, " + ex.Message);
  24.                 return 0;
  25.             }
  26.  
  27.             Console.WriteLine("OK");
  28.             while (true)
  29.             {
  30.                 Steam3.Update();
  31.             }
  32.         }
  33.     }
  34. }
Add Comment
Please, Sign In to add comment