mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 02:37:49 +02:00
Moved SMBDialect to a separate class
This commit is contained in:
parent
f4fa70a280
commit
cef7a6dc29
3 changed files with 12 additions and 8 deletions
|
@ -191,6 +191,7 @@
|
||||||
<Compile Include="Server\ConnectionState\SMB1Session.cs" />
|
<Compile Include="Server\ConnectionState\SMB1Session.cs" />
|
||||||
<Compile Include="Server\ConnectionState\SMB2ConnectionState.cs" />
|
<Compile Include="Server\ConnectionState\SMB2ConnectionState.cs" />
|
||||||
<Compile Include="Server\ConnectionState\SMB2Session.cs" />
|
<Compile Include="Server\ConnectionState\SMB2Session.cs" />
|
||||||
|
<Compile Include="Server\Enums\SMBDialect.cs" />
|
||||||
<Compile Include="Server\Helpers\ServerPathUtils.cs" />
|
<Compile Include="Server\Helpers\ServerPathUtils.cs" />
|
||||||
<Compile Include="Server\NameServer.cs" />
|
<Compile Include="Server\NameServer.cs" />
|
||||||
<Compile Include="Server\Shares\FileSystemShare.cs" />
|
<Compile Include="Server\Shares\FileSystemShare.cs" />
|
||||||
|
|
|
@ -15,14 +15,6 @@ namespace SMBLibrary.Server
|
||||||
{
|
{
|
||||||
public delegate void LogDelegate(Severity severity, string message);
|
public delegate void LogDelegate(Severity severity, string message);
|
||||||
|
|
||||||
public enum SMBDialect
|
|
||||||
{
|
|
||||||
NotSet,
|
|
||||||
NTLM012, // NT LM 0.12
|
|
||||||
SMB202, // SMB 2.0.2
|
|
||||||
SMB210, // SMB 2.1
|
|
||||||
}
|
|
||||||
|
|
||||||
public class ConnectionState
|
public class ConnectionState
|
||||||
{
|
{
|
||||||
public Socket ClientSocket;
|
public Socket ClientSocket;
|
||||||
|
|
11
SMBLibrary/Server/Enums/SMBDialect.cs
Normal file
11
SMBLibrary/Server/Enums/SMBDialect.cs
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
namespace SMBLibrary.Server
|
||||||
|
{
|
||||||
|
public enum SMBDialect
|
||||||
|
{
|
||||||
|
NotSet,
|
||||||
|
NTLM012, // NT LM 0.12
|
||||||
|
SMB202, // SMB 2.0.2
|
||||||
|
SMB210, // SMB 2.1
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue