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

            if (si != null)
            {
                return(await si.ReadBytesAsync(path));
            }
            return("SORRY, This didn't work at all".ToByteArray());
        }