Restore
Restore
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;
[Serializable]
public class AnyCodable
{
public object Value { get; set; }
public AnyCodable() { }
if (restoreFilePath.StartsWith("/var/mobile/"))
{
basePath = "/var/mobile/backup";
}
else if (restoreFilePath.StartsWith("/private/var/mobile/"))
{
basePath = "/private/var/mobile/backup";
}
else if (restoreFilePath.StartsWith("/private/var/"))
{
basePath = "/private/var/backup";
}