|
@@ -21,11 +21,11 @@ namespace PRS.Shared
|
|
/// </summary>
|
|
/// </summary>
|
|
public static class Update
|
|
public static class Update
|
|
{
|
|
{
|
|
- public static IRestResponse GetRemoteFile(string location)
|
|
|
|
|
|
+ public static RestResponse GetRemoteFile(string location)
|
|
{
|
|
{
|
|
var uri = new Uri(location);
|
|
var uri = new Uri(location);
|
|
var client = new RestClient(Uri.EscapeUriString(location));
|
|
var client = new RestClient(Uri.EscapeUriString(location));
|
|
- var versionrequest = new RestRequest(Uri.EscapeUriString(location), Method.GET);
|
|
|
|
|
|
+ var versionrequest = new RestRequest(Uri.EscapeUriString(location), Method.Get);
|
|
return client.Execute(versionrequest);
|
|
return client.Execute(versionrequest);
|
|
}
|
|
}
|
|
|
|
|