public async Task RequestCurrentFormat()
        {
            JsonObject imageCapture = new JsonObject();

            imageCapture.AddValue("Action", "GetCurrentFormat");
            await ControllerHandler.Send(this, imageCapture).ConfigureAwait(false);
        }
        public async Task CaptureDeviceImage()
        {
            JsonObject imageCapture = new JsonObject();

            imageCapture.AddValue("Action", "Capture");
            await ControllerHandler.Send(this, imageCapture).ConfigureAwait(false);
        }
        public async Task RequestSupportedFormats(string type = null, string subType = null)
        {
            JsonObject imageCapture = new JsonObject();

            imageCapture.AddValue("Action", "ListFormats");
            if (!string.IsNullOrEmpty(type))
            {
                imageCapture.AddValue("Type", type);
            }
            if (!string.IsNullOrEmpty(subType))
            {
                imageCapture.AddValue("SubType", subType);
            }

            await ControllerHandler.Send(this, imageCapture).ConfigureAwait(false);
        }