Click or drag to resize
DirectoryEnumerateFileIdBothDirectoryInfo Method (String, FileShare)
[AlphaFS] Retrieves information about files in the directory specified by path in specified FileShare mode.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
public static IEnumerable<FileIdBothDirectoryInfo> EnumerateFileIdBothDirectoryInfo(
	string path,
	FileShare shareMode


Type: SystemString
A path to a directory from which to retrieve information.
Type: System.IOFileShare
The FileShare mode with which to open a handle to the directory.

Return Value

Type: IEnumerableFileIdBothDirectoryInfo
An enumeration of FileIdBothDirectoryInfo records for each file system entry in the specified diretory.
See Also