public Stream OpenMemo() { if (string.IsNullOrEmpty(memoPath)) { throw new InvalidOperationException($"No associated MEMO-file ({DbfFilePathHelper.GetMemoExtension(Path.GetExtension(dbfPath))}) found."); } return(new FileStream(memoPath, FileMode.Open, FileAccess.Read, FileShare.Read | FileShare.Write | FileShare.Delete, short.MaxValue, FileOptions.RandomAccess)); }
public Dbf(string filePath, Encoding encoding) : this(filePath, DbfFilePathHelper.GetMemoPath(filePath), encoding) { }
public Dbf(string filePath) : this(filePath, DbfFilePathHelper.GetMemoPath(filePath)) { }