ReadAllBytes() public static method

public static ReadAllBytes ( string path ) : byte[]
path string
return byte[]
Ejemplo n.º 1
0
 public static bool MoveToLocal(string cloudPath, string localPath)
 {
     if (SocialAPI.Cloud == null)
     {
         return(false);
     }
     FileUtilities.WriteAllBytes(localPath, FileUtilities.ReadAllBytes(cloudPath, true), false);
     FileUtilities.Delete(cloudPath, true);
     return(true);
 }