Renamed FileAttributes to SMBFileAttributes

This commit is contained in:
Tal Aloni 2017-01-10 11:24:51 +02:00
parent 241eafc732
commit b45cffe099
20 changed files with 48 additions and 48 deletions

View file

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