/// <summary>
        /// Resizes the console that was allocated for the process if <see cref="ProcessStartInfo.EmulateConsole"/> was set.
        /// </summary>
        /// <param name="height">The new height, in character cells.</param>
        /// <param name="width">The new width, in character cells.</param>
        public void ResizeConsole(ushort height, ushort width)
        {
            Schema.ProcessConsoleSize procSize = new Schema.ProcessConsoleSize();
            procSize.Height = height;
            procSize.Width  = width;

            Schema.ProcessModifyRequest procModReq = new Schema.ProcessModifyRequest();
            procModReq.Operation   = Schema.ProcessModifyOperation.ConsoleSize;
            procModReq.ConsoleSize = procSize;

            _hcs.ModifyProcess(_p, JsonHelper.ToJson(procModReq));
        }
        /// <summary>
        /// Resizes the console that was allocated for the process if <see cref="ProcessStartInfo.EmulateConsole"/> was set.
        /// </summary>
        /// <param name="height">The new height, in character cells.</param>
        /// <param name="width">The new width, in character cells.</param>
        public void ResizeConsole(ushort height, ushort width)
        {
            Schema.ProcessConsoleSize procSize = new Schema.ProcessConsoleSize();
            procSize.Height = height;
            procSize.Width  = width;

            Schema.ProcessModifyRequest procModReq = new Schema.ProcessModifyRequest();
            procModReq.Operation   = Schema.ProcessModifyOperation.ConsoleSize;
            procModReq.ConsoleSize = procSize;

            string result;

            HcsFunctions.ProcessHcsCall(HcsFunctions.HcsModifyProcess(_p, JsonHelper.ToJson(procModReq), out result), result);
        }