We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    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
    [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

    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
    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

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    In This Article
    Back to top Generated by DocFX