Commit c064be9b authored by Jason Williams's avatar Jason Williams
Browse files
parents f0fa9e9a 211bd2bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To start contributing, see [Contributing](https://github.com/Microsoft/WindowsDe
---
---

For source code documentation, see https://Microsoft.github.io/WindowsDevicePortalWrapper
For source code documentation, see https://microsoft.github.io/WindowsDevicePortalWrapper/annotated.html

---
---
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests
            Assert.AreEqual(TaskStatus.RanToCompletion, getTask.Status);

            // Check some known things about this response.
            ProcessStatus processStatus = getTask.Result.Status;
            MrcProcessStatus processStatus = getTask.Result.Status;
            Assert.AreEqual("Running", processStatus.MrcProcess);
        }

+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        /// Stops listneing for messages from the websocket and closes the connection to the websocket.
        /// </summary>
        /// <returns>The task of closing the websocket connection.</returns>
#pragma warning disable 1998
        private async Task StopListeningForMessagesInternal()
        {
            if (this.IsListeningForMessages)
@@ -68,6 +69,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
                }
            }
        }
#pragma warning restore 1998

        /// <summary>
        /// Connects to the websocket and starts listening for messages from the websocket.
+6 −6
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        public static readonly string KnownFoldersApi = "api/filesystem/apps/knownfolders";

        /// <summary>
        /// Calls the API to retrieve the list of known folders.
        /// Gets a list of Known Folders on the device. 
        /// </summary>
        /// <returns>List of known folders available on this device.</returns>
        public async Task<KnownFolders> GetKnownFolders()
@@ -47,7 +47,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        }

        /// <summary>
        /// Calls the API to retrieve the contents of a given folder.
        /// Gets a list of files in a Known Folder (e.g. LocalAppData).
        /// </summary>
        /// <param name="knownFolderId">The known folder id for the root of the path.</param>
        /// <param name="subPath">An optional subpath to the folder.</param>
@@ -64,7 +64,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        }

        /// <summary>
        /// Calls the API to download a file.
        /// Gets a file from LocalAppData or another Known Folder on the device. 
        /// </summary>
        /// <param name="knownFolderId">The known folder id for the root of the path.</param>
        /// <param name="filename">The name of the file we are downloading.</param>
@@ -90,7 +90,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        }

        /// <summary>
        /// Calls the API to upload a file.
        /// Uploads a file to a Known Folder (e.g. LocalAppData)
        /// </summary>
        /// <param name="knownFolderId">The known folder id for the root of the path.</param>
        /// <param name="filepath">The path to the file we are uploading.</param>
@@ -112,7 +112,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        }

        /// <summary>
        /// Calls the API to delete a file.
        /// Deletes a file from a Known Folder. 
        /// </summary>
        /// <param name="knownFolderId">The known folder id for the root of the path.</param>
        /// <param name="filename">The name of the file we are deleting.</param>
@@ -133,7 +133,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        }

        /// <summary>
        /// Calls the API to rename a file.
        /// Renames a file in a Known Folder. 
        /// </summary>
        /// <param name="knownFolderId">The known folder id for the root of the path.</param>
        /// <param name="filename">The name of the file we are renaming.</param>
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        public static readonly string TagsApi = "api/dns-sd/tags";

        /// <summary>
        /// Gets the name of the device.
        /// Gets a list of DNS-SD tags being broadcast by this device. 
        /// </summary>
        /// <returns>Array of strings, each one an individual tag.</returns>
        public async Task<List<string>> GetServiceTags()
Loading