Beispiel #1
0
        /// <summary>
        /// Creates the directory specified in path
        /// </summary>
        /// <param name="path">The directory path to create</param>
        /// <returns>true if directory was created</returns>
        public bool CreateDirectory(string path)
        {
            string full_path;

            full_path = FullPath(current_directory, path);
            if (MobileDevice.AFCDirectoryCreate(hAFC, full_path) != 0)
            {
                return(false);
            }

            return(true);
        }
Beispiel #2
0
 public unsafe bool CreateDirectory(string path)
 {
     return(MobileDevice.AFCDirectoryCreate(this.hAFC, this.FullPath(this.CurrentDirectory, path)) == 0);
 }
Beispiel #3
0
 /// <summary>
 /// Creates the directory specified in path
 /// </summary>
 /// <param name="path">The directory path to create</param>
 /// <returns>true if directory was created</returns>
 unsafe public bool CreateDirectory(string path)
 {
     return(!(MobileDevice.AFCDirectoryCreate(hAFC, FullPath(CurrentDirectory, path)) != 0));
 }