Пример #1
0
        protected internal virtual async Task <int> _upload(string path, byte[] content)
        {
            YDevice dev = await getYDevice();

            await dev.requestHTTPUpload(path, content);

            return(YAPI.SUCCESS);
        }
Пример #2
0
        protected internal virtual async Task <byte[]> _uploadEx(string path, byte[] content)
        {
            YDevice dev = await getYDevice();

            return(await dev.requestHTTPUpload(path, content));
        }