diff --git a/SMBLibrary/Client/ISMBFileStore.cs b/SMBLibrary/Client/ISMBFileStore.cs new file mode 100644 index 0000000..eb522ab --- /dev/null +++ b/SMBLibrary/Client/ISMBFileStore.cs @@ -0,0 +1,15 @@ +/* Copyright (C) 2017 Tal Aloni . All rights reserved. + * + * You can redistribute this program and/or modify it under the terms of + * the GNU Lesser Public License as published by the Free Software Foundation, + * either version 3 of the License, or (at your option) any later version. + */ +using System; + +namespace SMBLibrary.Client +{ + public interface ISMBFileStore : INTFileStore + { + NTStatus Disconnect(); + } +} diff --git a/SMBLibrary/Client/SMB1FileStore.cs b/SMBLibrary/Client/SMB1FileStore.cs index 4d248c9..0bc824a 100644 --- a/SMBLibrary/Client/SMB1FileStore.cs +++ b/SMBLibrary/Client/SMB1FileStore.cs @@ -11,7 +11,7 @@ using Utilities; namespace SMBLibrary.Client { - public class SMB1FileStore : INTFileStore + public class SMB1FileStore : ISMBFileStore { private SMB1Client m_client; private ushort m_treeID; diff --git a/SMBLibrary/Client/SMB2FileStore.cs b/SMBLibrary/Client/SMB2FileStore.cs index f5c2983..b393734 100644 --- a/SMBLibrary/Client/SMB2FileStore.cs +++ b/SMBLibrary/Client/SMB2FileStore.cs @@ -11,7 +11,7 @@ using Utilities; namespace SMBLibrary.Client { - public class SMB2FileStore : INTFileStore + public class SMB2FileStore : ISMBFileStore { private SMB2Client m_client; private uint m_treeID; diff --git a/SMBLibrary/SMBLibrary.csproj b/SMBLibrary/SMBLibrary.csproj index 6e36616..32eb11d 100644 --- a/SMBLibrary/SMBLibrary.csproj +++ b/SMBLibrary/SMBLibrary.csproj @@ -58,6 +58,7 @@ +