WriteAllBytes() public static method

public static WriteAllBytes ( string path, byte data ) : void
path string
data byte
return void
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);
 }