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
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 |
LocalIPAddress
Constant string for local machine IP Address
Declaration
public const string LocalIPAddress = "127.0.0.1"
Field Value
Type | Description |
---|---|
String |
LocalMachine
Constant string for local machine target
Declaration
public const string LocalMachine = "Local Machine"
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
BatteryInfo
The last known battery state of the device.
Declaration
public BatteryInfo BatteryInfo { get; set; }
Property Value
Type | Description |
---|---|
Battery |
PowerState
The last known power state of the device.
Declaration
public PowerStateInfo PowerState { get; set; }
Property Value
Type | Description |
---|---|
Power |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |