Unverified Commit 98bc10d8 authored by Hirsch Singhal's avatar Hirsch Singhal Committed by GitHub
Browse files

0.9.5.1 release (#274)

* Make generic Stream REST APIs public as well. (#258)
* URL Encode the File Explorer Delete/Get API. (#262)
* Ensure that TLS 1.1 and 1.2 are enabled for .NET. (#272)
Thanks!
* Bump version a bit for Nuget (#273)
parent 984d784d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Runtime.Serialization;
using System.Threading.Tasks;

@@ -79,6 +80,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        {
            Dictionary<string, string> payload = this.BuildCommonFilePayload(knownFolderId, subPath, packageFullName);

            filename = WebUtility.UrlEncode(filename);
            payload.Add("filename", filename);

            Uri uri = Utilities.BuildEndpoint(
@@ -126,7 +128,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
            string packageFullName = null)
        {
            Dictionary<string, string> payload = this.BuildCommonFilePayload(knownFolderId, subPath, packageFullName);

            filename = WebUtility.UrlEncode(filename);
            payload.Add("filename", filename);

            await this.DeleteAsync(GetFileApi, Utilities.BuildQueryString(payload));
+10 −0
Original line number Diff line number Diff line
@@ -59,7 +59,17 @@ namespace Microsoft.Tools.WindowsDevicePortal
        /// Device connection object.
        /// </summary>
        private IDevicePortalConnection deviceConnection;
#if !WINDOWS_UWP

        /// <summary>
        /// Initializes static members of the <see cref="DevicePortal" /> class.
        /// </summary>
        static DevicePortal()
        {
            System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
        }

#endif
        /// <summary>
        /// Initializes a new instance of the <see cref="DevicePortal" /> class.
        /// </summary>
+2 −2
Original line number Diff line number Diff line
@@ -29,6 +29,6 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.9.5.0")]
[assembly: AssemblyFileVersion("0.9.5.0")]
[assembly: AssemblyVersion("0.9.5.1")]
[assembly: AssemblyFileVersion("0.9.5.1")]
[assembly: ComVisible(false)]
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -37,5 +37,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.9.5.0")]
[assembly: AssemblyFileVersion("0.9.5.0")]
 No newline at end of file
[assembly: AssemblyVersion("0.9.5.1")]
[assembly: AssemblyFileVersion("0.9.5.1")]
 No newline at end of file