Exemplo n.º 1
0
 public unsafe bool Rename(string sourceName, string destName)
 {
     return(MobileDevice.AFCRenamePath(this.hAFC, this.FullPath(this.current_directory, sourceName), this.FullPath(this.current_directory, destName)) == 0);
 }
Exemplo n.º 2
0
 public unsafe bool Rename(string sourceName, string destName)
 {
     return(MobileDevice.AFCRenamePath(hAFC, sourceName, destName) == 0);
 }
Exemplo n.º 3
0
 public unsafe bool Rename(string sourceName, string destName)
 {
     return(MobileDevice.AFCRenamePath(this.hAFC, System.Text.Encoding.UTF8.GetBytes(this.FullPath(this.CurrentDirectory, sourceName)), System.Text.Encoding.UTF8.GetBytes(this.FullPath(this.CurrentDirectory, destName))) == 0);
 }