mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-19 15:45:54 +02:00
Client: ISMBFileStore interface added
This commit is contained in:
parent
38fa17acce
commit
ad996ed934
4 changed files with 18 additions and 2 deletions
15
SMBLibrary/Client/ISMBFileStore.cs
Normal file
15
SMBLibrary/Client/ISMBFileStore.cs
Normal 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();
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue