public DHCPOptionVendorSpecificInformation(string data)
     : base(TDHCPOption.VendorSpecificInformation)
 {
     MemoryStream ms = new MemoryStream();
     ParseHelper.WriteString(ms, ZeroTerminatedStrings, data);
     ms.Flush();
     m_Data = ms.ToArray();
 }
示例#2
0
 public override void ToStream(Stream s)
 {
     ParseHelper.WriteString(s, ZeroTerminatedStrings, m_HostName);
 }