- more logs - download controller + manager überarbeitet - Retry wird besser angezeigt - Formatierungen
42 lines
934 B
C#
42 lines
934 B
C#
using BS.SharedLauncher.Update;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace BS.SharedLauncher.DataContract
|
|
{
|
|
[DataContract]
|
|
public class UpdateFileRequest
|
|
{
|
|
public UpdateFileRequest()
|
|
{
|
|
|
|
}
|
|
|
|
public UpdateFileRequest(string version, string session_id) : this()
|
|
{
|
|
Version = version;
|
|
SessionId = session_id;
|
|
}
|
|
|
|
public UpdateFileRequest(UpdatePlanResponse response) : this(response.CurrentPackage.Version, response.SessionId)
|
|
{
|
|
|
|
}
|
|
|
|
[DataMember]
|
|
public string Version { get; set; }
|
|
|
|
[DataMember]
|
|
public string SessionId { get; set; }
|
|
|
|
[DataMember]
|
|
public UpdateFileDC UpdateFile { get; set; }
|
|
}
|
|
}
|