Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the type of the device.
Namespace: Microsoft.WindowsServerSolutions.Common.Devices
Assembly: DevicesOM (in DevicesOM.dll)
Syntax
public Guid DeviceType { get; }
public:
property Guid DeviceType {
Guid get();
}
Public ReadOnly Property DeviceType As Guid
Property Value
Type: System.Guid
An instance of Guid.
Remarks
DeviceType is a Guid that represents the type of device as defined by the members of the DeviceTypes class.
Examples
The following example shows how to get all DeviceInfo objects:
public void GetDevicesSample()
{
using (DevicesManager manager = new DevicesManager())
{
manager.Connect();
ReadOnlyDeviceInfoCollection col = manager.GetAllDevicesInfo();
foreach (DeviceInfo device in col)
{
Display(device);
}
}
}
See Also
DeviceInfo Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace
Return to top