diff --git a/SMBLibrary/SMB1FileStore/Helpers/FindInformationHelper.cs b/SMBLibrary/SMB1FileStore/Helpers/FindInformationHelper.cs
index 532b00f..2602dfa 100644
--- a/SMBLibrary/SMB1FileStore/Helpers/FindInformationHelper.cs
+++ b/SMBLibrary/SMB1FileStore/Helpers/FindInformationHelper.cs
@@ -36,13 +36,13 @@ namespace SMBLibrary.SMB1
}
///
- public static FindInformationList GetFindInformationList(List entries, bool isUnicode, int maxLength)
+ public static FindInformationList ToFindInformationList(List entries, bool isUnicode, int maxLength)
{
FindInformationList result = new FindInformationList();
int pageLength = 0;
for (int index = 0; index < entries.Count; index++)
{
- FindInformation infoEntry = GetFindInformation(entries[index]);
+ FindInformation infoEntry = ToFindInformation(entries[index]);
int entryLength = infoEntry.GetLength(isUnicode);
if (pageLength + entryLength <= maxLength)
{
@@ -58,7 +58,7 @@ namespace SMBLibrary.SMB1
}
///
- public static FindInformation GetFindInformation(QueryDirectoryFileInformation fileInformation)
+ public static FindInformation ToFindInformation(QueryDirectoryFileInformation fileInformation)
{
if (fileInformation is FileDirectoryInformation)
{
diff --git a/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs b/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs
index dd5d7d7..ea1d319 100644
--- a/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs
+++ b/SMBLibrary/Server/SMB1/Transaction2SubcommandHelper.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Text;
using SMBLibrary.SMB1;
using Utilities;
@@ -61,7 +60,7 @@ namespace SMBLibrary.Server.SMB1
FindInformationList findInformationList;
try
{
- findInformationList = FindInformationHelper.GetFindInformationList(segment, header.UnicodeFlag, maxLength);
+ findInformationList = FindInformationHelper.ToFindInformationList(segment, header.UnicodeFlag, maxLength);
}
catch (UnsupportedInformationLevelException)
{
@@ -112,7 +111,7 @@ namespace SMBLibrary.Server.SMB1
FindInformationList findInformationList;
try
{
- findInformationList = FindInformationHelper.GetFindInformationList(segment, header.UnicodeFlag, maxLength);
+ findInformationList = FindInformationHelper.ToFindInformationList(segment, header.UnicodeFlag, maxLength);
}
catch (UnsupportedInformationLevelException)
{