public NetrServerGetInfoRequest(byte[] buffer) { NDRParser parser = new NDRParser(buffer); ServerName = parser.ReadTopLevelUnicodeStringPointer(); Level = parser.ReadUInt32(); }
public NetrShareEnumRequest(byte[] buffer) { NDRParser parser = new NDRParser(buffer); ServerName = parser.ReadTopLevelUnicodeStringPointer(); InfoStruct = new ShareEnum(parser); PreferedMaximumLength = parser.ReadUInt32(); ResumeHandle = parser.ReadUInt32(); }