// Token: 0x06004FA4 RID: 20388 RVA: 0x001262E0 File Offset: 0x001244E0 public byte[][] Serialize() { byte[][] result; using (MemoryStream memoryStream = new MemoryStream()) { using (BinaryWriter binaryWriter = new BinaryWriter(memoryStream)) { byte[][] array = new byte[3][]; binaryWriter.Write(this.DiscoveryStarted.ToBinary()); binaryWriter.Write((int)this.TopologyScope); binaryWriter.Write(this.LocalServerFqdn); SimpleADObject.WriteList(binaryWriter, this.Sites); SimpleADObject.WriteList(binaryWriter, this.SiteLinks); SimpleADObject.WriteList(binaryWriter, this.Servers); array[0] = memoryStream.ToArray(); memoryStream.SetLength(0L); SimpleADObject.WriteList(binaryWriter, this.VirtualDirectories); SimpleADObject.WriteList(binaryWriter, this.EmailTransports); SimpleADObject.WriteList(binaryWriter, this.SmtpReceiveConnectors); array[1] = memoryStream.ToArray(); memoryStream.SetLength(0L); SimpleADObject.WriteList(binaryWriter, this.ADServers); array[2] = memoryStream.ToArray(); result = array; } } return(result); }