Commit 891fad69 authored by Jason Williams's avatar Jason Williams Committed by GitHub
Browse files

Merge pull request #97 from davidkline-ms/master

add default implementation of IDevicePortalConnection
parents 8f4ba71a ef12bfa6
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -108,15 +108,6 @@ namespace MockDataGenerator
            set;
        }

        /// <summary>
        /// Gets or sets the device's qualified name
        /// </summary>
        public string QualifiedName
        {
            get;
            set;
        }

        /// <summary>
        /// Returns certificate data
        /// </summary>
+0 −1
Original line number Diff line number Diff line
@@ -176,7 +176,6 @@ namespace TestApp
                    if ((addressInfo.Address != "0.0.0.0") && !addressInfo.Address.StartsWith("169."))
                    {
                        newConnection = new Uri(string.Format("{0}://{1}:50443", this.GetUriScheme(addressInfo.Address, requiresHttps), addressInfo.Address));
                        //// TODO qualified name
                        break;
                    }
                }
+0 −11
Original line number Diff line number Diff line
@@ -7,9 +7,7 @@
using System;
using System.Net;
using System.Text.RegularExpressions;
using Windows.Foundation;
using Windows.Security.Cryptography.Certificates;
using Windows.Storage.Streams;
using Microsoft.Tools.WindowsDevicePortal;
using static Microsoft.Tools.WindowsDevicePortal.DevicePortal;

@@ -106,15 +104,6 @@ namespace TestApp
            }
        }

        /// <summary>
        /// Returns certificate data
        /// </summary>
        /// <returns>certificate data</returns>
        public byte[] GetDeviceCertificateData()
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// Validates and sets the device certificate.
        /// </summary>
+0 −1
Original line number Diff line number Diff line
@@ -168,7 +168,6 @@ namespace Microsoft.Tools.WindowsDevicePortal
#endif // WINDOWS_UWP
            string connectionPhaseDescription = string.Empty;

            // TODO - add status event. this can take a LONG time
            try 
            {
                // Get the device certificate
+0 −1
Original line number Diff line number Diff line
@@ -145,7 +145,6 @@ namespace Microsoft.Tools.WindowsDevicePortal
        [SecurityCritical]
        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            // TODO - look at an example of how this function is implemented
            base.GetObjectData(info, context);
        }
#endif // !WINDOWS_UWP
Loading