System.WindowsConsoleDriver.SetConsoleScreenBufferSize C# (CSharp) Method