Interface IDevice
Represents a device.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole
Assembly: DeviceConsole.Abstractions.dll
Syntax
public interface IDevice : IServiceProvider
Properties
View SourceAlias
Gets or sets a user defined alias for the device.
Declaration
string? Alias { get; set; }
Property Value
Type | Description |
---|---|
string |
ConnectionStatus
Gets a value indicating the device connection status.
Declaration
ConnectionStatus ConnectionStatus { get; }
Property Value
Type | Description |
---|---|
ConnectionStatus |
DisplayName
Declaration
string DisplayName { get; }
Property Value
Type | Description |
---|---|
string |
Id
Gets the unique identifier of the device.
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
string |
IPAddress
Gets the IP address of this device.
Declaration
IPAddress IPAddress { get; }
Property Value
Type | Description |
---|---|
IPAddress |
Name
Gets or sets the name of this device.
Declaration
string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
TypeName
Gets the name of the device type.
Declaration
string TypeName { get; }
Property Value
Type | Description |
---|---|
string |