DevicePortal Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Function used to communicate with Windows 10 devices through the device portal REST APIs.
public ref class DevicePortal abstract sealed
public static class DevicePortal
type DevicePortal = class
Public Class DevicePortal
- Inheritance
-
DevicePortal
UseSSL |
Use SSL Connections when making rest calls. |
Verify |
Use SSL Certificate Verification when making SSL rest calls. |
Connect |
Connects to the specified WiFi Network. |
Download |
Downloads and launches the Log file for the target application on the target device. |
Ensure |
Makes sure the Authentication Headers and CSRF Tokens are set. |
Finalize |
This Utility method finalizes the URL and formats the HTTPS string if needed. |
Get |
|
Get |
Gets the AvailableWiFiNetworks of the target device. |
Get |
Gets the BatteryInfo of the target device. |
Get |
Gets the DeviceOsInfo of the target device. |
Get |
Gets the IpConfigInfo of the target device. |
Get |
Gets the MachineName of the target device. |
Get |
Gets the PowerStateInfo of the target device. |
Get |
Gets the NetworkInterfaces of the target device. |
Install |
Installs the target application on the target device. |
Is |
Determines if the target application is currently running on the target device. |
Is |
Determines if the target application is running on the target device. |
Launch |
Launches the target application on the target device. |
Open |
Opens the Device Portal for the target device. |
Refresh |
Refreshes the CSRF Token in case the device or its portal was restarted. |
Restart |
Restart the target device. |
Shutdown |
Shuts down the target device. |
Stop |
Stops the target application on the target device. |
Uninstall |
Uninstalls the target application on the target device |
Produkt | Versioner |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |