public Stream GetStream(string path, FileMode mode, FileAccess access, FileShare share) { return(new FileStream(path, mode.ToIO(), access.ToIO(), share.ToIO())); }