Client: ISMBFileStore interface added

This commit is contained in:
Tal Aloni 2017-09-23 11:49:01 +03:00
parent 38fa17acce
commit ad996ed934
4 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,15 @@
/* Copyright (C) 2017 Tal Aloni <tal.aloni.il@gmail.com>. 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();
}
}

View file

@ -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;

View file

@ -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;

View file

@ -58,6 +58,7 @@
<Compile Include="Client\Enums\AuthenticationMethod.cs" />
<Compile Include="Client\Helpers\NTLMAuthenticationHelper.cs" />
<Compile Include="Client\Helpers\ServerServiceHelper.cs" />
<Compile Include="Client\ISMBFileStore.cs" />
<Compile Include="Client\SMB1Client.cs" />
<Compile Include="Client\SMB1FileStore.cs" />
<Compile Include="Client\SMB2Client.cs" />