New feature: ZlpFileSystemInfo and ZlpIOHelper.OpenRead()

Jul 12, 2013 at 10:06 PM
Edited Jul 12, 2013 at 10:06 PM
This library saved me a lot of headaches but I still needed to create workarounds for the following two cases. Perhaps adding them to the library will helps others in the future.

1 .
ZlpFileSystemInfo as a base class for ZlpFileInfo and ZlpDirectoryInfo, just as FileSystemInfo is the base class for FileInfo and DirectoryInfo in System.IO

2 .
FileStream ZlpIOHelper.OpenRead(String fileName) similar to
FileStream File.OpenRead(String fileName)
FileInfo.ReadAllBytes() accomplishes pretty much the same thing but you load the entire file into memory, which isn't feasible when dealing with very large files.
I used this class to get around this problem.

Thanks for the great work!
Nov 28, 2014 at 7:00 PM

Could you share the code for "ZlpFileSystemInfo", I badly need this..please help