KnownPerceptionFrameSourceProperties.DeviceId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string value that identifies the device on the system.
public:
static property Platform::String ^ DeviceId { Platform::String ^ get(); };
static winrt::hstring DeviceId();
/// [get: Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameSourceProperties may be unavailable after Windows Creator Update. Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static winrt::hstring DeviceId();
public static string DeviceId { get; }
public static string DeviceId { [Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameSourceProperties may be unavailable after Windows Creator Update. Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var string = KnownPerceptionFrameSourceProperties.deviceId;
Public Shared ReadOnly Property DeviceId As String
Property Value
The identifier.
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|