public static byte[] ToByteArray(Adohope.Shared.PList.DynamicPList x)
        {
            //todo: Move this logic to PList class
            MemoryStream ms = new MemoryStream();

            PListUtils.Save(ms, x.RootNode, PListNet.PListFormat.Binary);
            return(ms.ToArray());
        }