diff --git a/SMBLibrary/Server/SMB1/SMB1FileStoreHelper.QueryDirectory.cs b/SMBLibrary/Server/SMB1/SMB1FileStoreHelper.QueryDirectory.cs index 86e415a..c7031d2 100644 --- a/SMBLibrary/Server/SMB1/SMB1FileStoreHelper.QueryDirectory.cs +++ b/SMBLibrary/Server/SMB1/SMB1FileStoreHelper.QueryDirectory.cs @@ -51,13 +51,13 @@ namespace SMBLibrary.Server.SMB1 } /// - public static FindInformationList GetFindInformationList(List entries, FindInformationLevel informationLevel, bool isUnicode, bool returnResumeKeys, int maxLength) + public static FindInformationList GetFindInformationList(List entries, FindInformationLevel informationLevel, bool isUnicode, int maxLength) { FindInformationList result = new FindInformationList(); int pageLength = 0; for (int index = 0; index < entries.Count; index++) { - FindInformation infoEntry = GetFindInformation(entries[index], informationLevel, isUnicode, returnResumeKeys); + FindInformation infoEntry = GetFindInformation(entries[index], informationLevel); int entryLength = infoEntry.GetLength(isUnicode); if (pageLength + entryLength <= maxLength) { @@ -73,7 +73,7 @@ namespace SMBLibrary.Server.SMB1 } /// - public static FindInformation GetFindInformation(QueryDirectoryFileInformation entry, FindInformationLevel informationLevel, bool isUnicode, bool returnResumeKeys) + public static FindInformation GetFindInformation(QueryDirectoryFileInformation entry, FindInformationLevel informationLevel) { switch (informationLevel) { diff --git a/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs b/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs index c83cfec..5d5b29f 100644 --- a/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs +++ b/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs @@ -61,7 +61,7 @@ namespace SMBLibrary.Server.SMB1 FindInformationList findInformationList; try { - findInformationList = SMB1FileStoreHelper.GetFindInformationList(segment, subcommand.InformationLevel, header.UnicodeFlag, returnResumeKeys, maxLength); + findInformationList = SMB1FileStoreHelper.GetFindInformationList(segment, subcommand.InformationLevel, header.UnicodeFlag, maxLength); } catch (UnsupportedInformationLevelException) { @@ -112,7 +112,7 @@ namespace SMBLibrary.Server.SMB1 FindInformationList findInformationList; try { - findInformationList = SMB1FileStoreHelper.GetFindInformationList(segment, subcommand.InformationLevel, header.UnicodeFlag, returnResumeKeys, maxLength); + findInformationList = SMB1FileStoreHelper.GetFindInformationList(segment, subcommand.InformationLevel, header.UnicodeFlag, maxLength); } catch (UnsupportedInformationLevelException) {