ACE: Moved ACE Header to the ACE abstract class

This commit is contained in:
Tal Aloni 2024-08-31 12:27:59 +03:00
parent 3c7588b575
commit 3f054348d8
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
/* Copyright (C) 2014-2024 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,
@ -14,6 +14,8 @@ namespace SMBLibrary
/// </summary>
public abstract class ACE
{
public AceHeader Header;
public abstract void WriteBytes(byte[] buffer, ref int offset);
public abstract int Length

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
/* Copyright (C) 2014-2024 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,
@ -15,7 +15,6 @@ namespace SMBLibrary
{
public const int FixedLength = 8;
public AceHeader Header;
public AccessMask Mask;
public SID Sid;

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
/* Copyright (C) 2014-2024 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,
@ -12,7 +12,6 @@ namespace SMBLibrary
{
public const int FixedLength = 8;
public AceHeader Header;
public AccessMask Mask;
public SID Sid;