rurtubia
4/24/2015 - 5:15 PM

BSOD Imitation, uses the Console Methods (BackgroundColor, ForegroundColor, Clear, WriteLine, ReadLine) ---- Imitación de Blue Screen of Dea

BSOD Imitation, uses the Console Methods (BackgroundColor, ForegroundColor, Clear, WriteLine, ReadLine) ---- Imitación de Blue Screen of Death ('pantallazo azul') usando métodos de Console.

using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    namespace HelloWorld
    {
        class Program
        {
            static void Main(string[] args)
            {   
                //Changes the text and background colors.
                Console.BackgroundColor = ConsoleColor.DarkBlue;
                Console.ForegroundColor = ConsoleColor.White;
                
                //Necessary to keep the colors on the whole window.
                Console.Clear();

                //Text
                Console.WriteLine("A problem has been detected and windows has been shutdown to prevent damage \nto your computer.");
                Console.WriteLine("\nThe problem seems to be caused by the following file: Windows.exe");
                Console.WriteLine("\nPAGE_FAULT_IN_NONPAGED_AREA");
                Console.WriteLine("\nIf this is the first time you've seen this stop error screen,");
                Console.WriteLine("restart your computer. If this screen appears again, follow\nthese steps:");
                Console.WriteLine("");
                Console.WriteLine("\nCheck to make sure any new hardware or software is properly installed.");
                Console.WriteLine("If this is a new installation, ask your hardware or software manufacturer");
                Console.WriteLine("for any Windows updates you might need.");
                Console.WriteLine("\nIf problems continue, disable or remove any newly installed hardware");
                Console.WriteLine("or software. Disable BIOS memory options such as caching or shadowing.");
                Console.WriteLine("\nTechnical information:");
                Console.WriteLine("\n*** STOP: 0x00000050 (0xFD3094C2,0x00000001,0xFBFE7617,0x0000 0000)");
                Console.WriteLine("\n*** SPCMDCON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c");
                Console.ReadLine();
            }
        }
    }