WindowsDevicePortalWrapper
0.9.0.0
A client library that wraps the Windows Device Portal REST APIs.
|
Interface for creating a connection with the device portal. More...
Public Member Functions | |
void | UpdateConnection (bool requiresHttps) |
Updates the http security requirements for device communication. More... | |
void | UpdateConnection (IpConfiguration ipConfig, bool requiresHttps) |
Updates the connection details (IP address) and http security requirements used when communicating with the device. More... | |
Properties | |
Uri | Connection [get] |
Gets the base uri (ex: http://localhost) used to communicate with the device. More... | |
Uri | WebSocketConnection [get] |
Gets the base uri (ex: ws://localhost) used to communicate with web sockets on the device. More... | |
NetworkCredential | Credentials [get] |
Gets the credentials used when communicating with the device. More... | |
string | Family [get, set] |
Gets or sets the family of the device (ex: Windows.Holographic). More... | |
OperatingSystemInformation | OsInfo [get, set] |
Gets or sets information describing the operating system installed on the device. More... | |
Interface for creating a connection with the device portal.
void Microsoft.Tools.WindowsDevicePortal.IDevicePortalConnection.UpdateConnection | ( | bool | requiresHttps | ) |
Updates the http security requirements for device communication.
requiresHttps | True if an https connection is required, false otherwise. |
Implemented in Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection, Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection, and Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.
void Microsoft.Tools.WindowsDevicePortal.IDevicePortalConnection.UpdateConnection | ( | IpConfiguration | ipConfig, |
bool | requiresHttps | ||
) |
Updates the connection details (IP address) and http security requirements used when communicating with the device.
ipConfig | Object that describes the current network configuration. |
requiresHttps | True if an https connection is required, false otherwise. |
Implemented in Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection, Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection, and Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.
|
get |
Gets the base uri (ex: http://localhost) used to communicate with the device.
|
get |
Gets the credentials used when communicating with the device.
|
getset |
Gets or sets the family of the device (ex: Windows.Holographic).
|
getset |
Gets or sets information describing the operating system installed on the device.
|
get |
Gets the base uri (ex: ws://localhost) used to communicate with web sockets on the device.