Share via


DeviceSharingMode Enum

Definition

The device sharing mode.

public enum class DeviceSharingMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Custom.CustomDeviceContract, 65536)]
enum class DeviceSharingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Custom.CustomDeviceContract), 65536)]
public enum DeviceSharingMode
var value = Windows.Devices.Custom.DeviceSharingMode.shared
Public Enum DeviceSharingMode
Inheritance
DeviceSharingMode
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Devices.Custom.CustomDeviceContract (introduced in v1.0)

Fields

Name Value Description
Shared 0

The device is shared.

Exclusive 1

The device is exclusive.

Applies to