Beispiel #1
0
        internal async static Task <bool> WriteBytesAsync(string path, byte[] content)
        {
            IStorageInterface si = DependencyService.Get <IStorageInterface>();

            if (si != null)
            {
                await si.WriteBytesAsync(path, content);

                return(true);
            }
            //return "SORRY, This didn't work at all";
            return(false);
        }