public byte[] EncodeBytes()
 {
     using (var ms = new MemoryStream())
         using (var bw = new BinaryWriter(ms))
         {
             bw.Write(TimeStamp.Ticks);
             bw.Write(ApplicationId.ToByteArray());
             bw.Write(RequestId.ToByteArray());
             return(ms.ToArray());
         }
 }