mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class DeviceInfo

    Inheritance
    Object
    DeviceInfo
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.WindowsDevicePortal
    Assembly: cs.temp.dll.dll
    Syntax
    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

    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
    public string CsrfToken
    Field Value
    Type Description
    String

    CsrfToken

    The current CSRF Token for the device.

    Declaration
    public string CsrfToken
    Field Value
    Type Description
    String

    IP

    The IP Address of the device.

    Declaration
    public string IP
    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

    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

    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

    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>

    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

    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

    PowerState

    The last known power state of the device.

    Declaration
    public PowerStateInfo PowerState { get; set; }
    Property Value
    Type Description
    PowerStateInfo

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    In This Article
    • Constructors
      • DeviceInfo(String, String, String, String)
      • DeviceInfo(String, String, String, String)
    • Fields
      • CsrfToken
      • CsrfToken
      • IP
      • IP
      • LocalIPAddress
      • LocalMachine
      • MachineName
      • MachineName
      • Password
      • Password
      • User
      • User
    • Properties
      • Authorization
      • Authorization
      • BatteryInfo
      • BatteryInfo
      • PowerState
      • PowerState
    • Methods
      • ToString()
    Back to top Generated by DocFX