Class DeviceInfo
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.WindowsDevicePortal
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class DeviceInfo
Constructors
DeviceInfo(String, String, String, String)
Constructor.
Declaration
public DeviceInfo(string ip, string user, string password, string machineName = "")
Parameters
| Type | Name | Description |
|---|---|---|
| String | ip | |
| String | user | |
| String | password | |
| String | machineName |
Fields
CsrfToken
The current CSRF Token for the device.
Declaration
[NonSerialized]
public string CsrfToken
Field Value
| Type | Description |
|---|---|
| String |
IP
The IP Address of the device.
Declaration
public string IP
Field Value
| Type | Description |
|---|---|
| String |
MachineName
The machine name of the device.
Declaration
public string MachineName
Field Value
| Type | Description |
|---|---|
| String |
Password
The password for the device.
Declaration
public string Password
Field Value
| Type | Description |
|---|---|
| String |
User
The user name of the device.
Declaration
public string User
Field Value
| Type | Description |
|---|---|
| String |
Properties
Authorization
The current authorization for the device.
Declaration
public Dictionary<string, string> Authorization { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<String, String> |
BatteryInfo
The last known battery state of the device.
Declaration
public BatteryInfo BatteryInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| BatteryInfo |
PowerState
The last known power state of the device.
Declaration
public PowerStateInfo PowerState { get; set; }
Property Value
| Type | Description |
|---|---|
| PowerStateInfo |