Default implementation of the IDevicePortalConnection interface. This implementation is designed to be compatibile with all device families.
More...
|
Uri | Connection [get] |
| Gets the URI used to connect to the device. More...
|
|
Uri | WebSocketConnection [get] |
| Gets Web Socket Connection property More...
|
|
NetworkCredential | Credentials [get] |
| Gets the credentials used to connect to the device. More...
|
|
string | Family [get, set] |
| Gets or sets the device's operating system family. More...
|
|
OperatingSystemInformation | OsInfo [get, set] |
| Gets or sets the operating system information. More...
|
|
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...
|
|
Default implementation of the IDevicePortalConnection interface. This implementation is designed to be compatibile with all device families.
Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.DefaultDevicePortalConnection |
( |
string |
address, |
|
|
string |
userName, |
|
|
string |
password |
|
) |
| |
|
inline |
Initializes a new instance of the DefaultDevicePortalConnection class.
- Parameters
-
address | The fully qualified (ex: "https:/1.2.3.4:4321") address of the device. |
userName | The user name used in the connection credentials. |
password | The password used in the connection credentials. |
Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.DefaultDevicePortalConnection |
( |
string |
address, |
|
|
string |
userName, |
|
|
string |
password |
|
) |
| |
|
inline |
Initializes a new instance of the DefaultDevicePortalConnection class.
- Parameters
-
address | The fully qualified (ex: "https:/1.2.3.4:4321") address of the device. |
userName | The user name used in the connection credentials. |
password | The password used in the connection credentials. |
X509Certificate2 Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.GetDeviceCertificate |
( |
| ) |
|
|
inline |
Gets the provided device certificate.
- Returns
- Stored device certificate.
void Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.SetDeviceCertificate |
( |
X509Certificate2 |
certificate | ) |
|
|
inline |
Stores a manually provided device certificate.
- Parameters
-
certificate | The device's root certificate. |
void Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.UpdateConnection |
( |
bool |
requiresHttps | ) |
|
|
inline |
void Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.UpdateConnection |
( |
IpConfiguration |
ipConfig, |
|
|
bool |
requiresHttps = false |
|
) |
| |
|
inline |
void Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.UpdateConnection |
( |
bool |
requiresHttps | ) |
|
|
inline |
void Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.UpdateConnection |
( |
IpConfiguration |
ipConfig, |
|
|
bool |
requiresHttps = false |
|
) |
| |
|
inline |
Uri Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.Connection |
|
get |
Gets the URI used to connect to the device.
NetworkCredential Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.Credentials |
|
get |
Gets the credentials used to connect to the device.
string Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.Family |
|
getset |
Gets or sets the device's operating system family.
OperatingSystemInformation Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.OsInfo |
|
getset |
Gets or sets the operating system information.
Uri Microsoft.Tools.WindowsDevicePortal.DefaultDevicePortalConnection.WebSocketConnection |
|
get |
Gets Web Socket Connection property
The documentation for this class was generated from the following file:
- WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/DefaultDevicePortalConnection.cs