mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-06-05 20:07:13 +02:00
Renamed FileAttributes to SMBFileAttributes
This commit is contained in:
parent
241eafc732
commit
b45cffe099
20 changed files with 48 additions and 48 deletions
|
@ -19,7 +19,7 @@ namespace SMBLibrary.SMB1
|
|||
public const int SupportedBufferFormat = 0x04;
|
||||
public const int ParametersLength = 2;
|
||||
// Parameters;
|
||||
public FileAttributes SearchAttributes;
|
||||
public SMBFileAttributes SearchAttributes;
|
||||
// Data:
|
||||
public byte BufferFormat;
|
||||
public string FileName; // SMB_STRING
|
||||
|
@ -31,7 +31,7 @@ namespace SMBLibrary.SMB1
|
|||
|
||||
public DeleteRequest(byte[] buffer, int offset, bool isUnicode) : base(buffer, offset, isUnicode)
|
||||
{
|
||||
SearchAttributes = (FileAttributes)LittleEndianConverter.ToUInt16(this.SMBParameters, 0);
|
||||
SearchAttributes = (SMBFileAttributes)LittleEndianConverter.ToUInt16(this.SMBParameters, 0);
|
||||
|
||||
BufferFormat = ByteReader.ReadByte(this.SMBData, 0);
|
||||
if (BufferFormat != SupportedBufferFormat)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue