public override byte[] GetData(bool isUnicode)
        {
            if (!IsPassthroughInformationLevel && QueryInformationLevel == QueryInformationLevel.SMB_INFO_QUERY_EAS_FROM_LIST)
            {
                return(GetExtendedAttributeList.GetBytes());
            }

            return(new byte[0]);
        }
Exemple #2
0
 public override byte[] GetData(bool isUnicode)
 {
     if (InformationLevel == FindInformationLevel.SMB_INFO_QUERY_EAS_FROM_LIST)
     {
         return(GetExtendedAttributeList.GetBytes());
     }
     else
     {
         return(new byte[0]);
     }
 }
 public override byte[] GetData(bool isUnicode)
 {
     return ExtendedAttributeList.GetBytes();
 }
Exemple #4
0
 public override byte[] GetBytes()
 {
     return(ExtendedAttributeList.GetBytes());
 }
Exemple #5
0
 public override byte[] GetData(bool isUnicode)
 {
     return(ExtendedAttributeList?.GetBytes() ?? new byte[0]);
 }