Example #1
0
        protected bool DownloadFile(string source, string destination)
        {
            string errorString;

            if (!SDBLib.RunSdbCommandAndGetError(_selectedDevice, $"pull {source} \"{destination}\"", null, out errorString))
            {
                WriteToOutput(Tizen.VisualStudio.Utilities.StringHelper.CombineMessages(
                                  "Cannot execute command.", errorString));
                return(false);
            }
            return(true);
        }