/// <summary> /// Creates a new instance to be used for updating cache files /// </summary> public static DatUpdater Create() { var du = new DatUpdater() { session = new Session(null), }; return(du); }
/// <summary> /// Creates a new instance to be used for updating dat files /// </summary> /// <param name="master">The already updated file to be used as a master</param> public static DatUpdater Create(Settings.IDatFile master) { var du = new DatUpdater() { session = new Session(null) { master = master, }, }; du.Initialize(du.session); return(du); }