/// <summary>
		/// Find the next file system entity matching the search string.
		/// </summary>
		/// <param name="hFind">Handle from a successful call to FindFirstFile</param>
		/// <param name="lpFindFileData">Receives the found entity's data</param>
		/// <returns>0 on success, GetLastError otherwise, check against ERROR_NO_MORE_FILES</returns>
        public static int FindNextFile(IntPtr hFind, out WIN32_FIND_DATA lpFindFileData)
        {
            return m_fileSystemIo.FindNextFile(hFind, out lpFindFileData);
        }
		/// <summary>
		/// Finds the first file system entity whose name matches, and gets a handle for subsequent matches.
		/// </summary>
		/// <param name="lpFileName">The path\name\filter string to match on</param>
		/// <param name="lpFindFileData">Receives the found entity's data</param>
		/// <param name="hFind">Receives a handle for subsequent searches, or INVALID_HANDLE_VALUE on failure</param>
		/// <returns>0 on success, GetLastError otherwise</returns>
        public static int FindFirstFile(string lpFileName, out WIN32_FIND_DATA lpFindFileData, out IntPtr hFind)
        {
            return m_fileSystemIo.FindFirstFile(lpFileName, out lpFindFileData, out hFind);
        }
 internal DirectoryInfo(String path, WIN32_FIND_DATA data)
     : base(path,data)
 {
 }
Example #4
0
 internal FileInfo(String path, WIN32_FIND_DATA data)
     : base(path, data)
 {
 }
 internal FileSystemInfo(String path, WIN32_FIND_DATA data)
 {
     _path = path;
     _data = data;
 }
Example #6
0
 internal FileSystemInfo(String path, WIN32_FIND_DATA data)
 {
     _path = path;
     _data = data;
 }