Advertisement
Guest User

Untitled

a guest
Feb 10th, 2012
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.89 KB | None | 0 0
  1. using System;
  2.  
  3.  
  4.  
  5. namespace FakeMiner
  6.  
  7. {
  8.  
  9.     class MainClass
  10.  
  11.     {
  12.  
  13.         private static void Delay(int ms)
  14.  
  15.         {
  16.  
  17.             int time = Environment.TickCount;
  18.  
  19.        
  20.  
  21.        
  22.  
  23.             while(true)
  24.  
  25.             {
  26.  
  27.                 if(Environment.TickCount - time >= ms) return;
  28.  
  29.             }
  30.  
  31.         }      
  32.  
  33.        
  34.  
  35.        
  36.  
  37.         public static void Main (string[] args)
  38.  
  39.         {
  40.  
  41.             Console.WriteLine ("Cobblefart Scrypt Miner 0.04c");
  42.  
  43.             Console.WriteLine ("Build 1/26/2012");
  44.  
  45.             Console.WriteLine("");
  46.  
  47.             Console.WriteLine("Starting on Device 0: AMD 6850");
  48.  
  49.             Console.WriteLine("Connecting to: http://coinotron.com:8322");     
  50.  
  51.             Console.WriteLine("--------------------------------------------");
  52.  
  53.             Random rnd = new Random();
  54.  
  55.            
  56.  
  57.             for (int i = 0; i < 11; i ++)
  58.  
  59.             {
  60.  
  61.                 Console.WriteLine("[" + DateTime.Now.ToString()+ "] - Accepted - " + rnd.Next(100,300).ToString() + "kH" );
  62.  
  63.                 Delay(rnd.Next(1500,5000));
  64.  
  65.             }
  66.  
  67.            
  68.  
  69.            
  70.  
  71.             Console.ReadLine();
  72.  
  73.         }
  74.  
  75.     }
  76.  
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement