SerialDevice ClassHIDSharp
Represents a serial device.
Inheritance Hierarchy

SystemObject
  HidSharpDevice
    HidSharpSerialDevice

Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public abstract class SerialDevice : Device

The SerialDevice type exposes the following members.

Methods

  NameDescription
Public methodGetFileSystemName
Returns the file system path of the device. This can be used to check permissions on Linux hidraw, for instance.
(Inherited from Device.)
Public methodGetFriendlyName
Returns a name appropriate for display.
(Overrides DeviceGetFriendlyName.)
Public methodHasImplementationDetail (Overrides DeviceHasImplementationDetail(Guid).)
Public methodOpen
Public methodOpen(OpenConfiguration)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodTryOpen(DeviceStream)
Tries to make a connection to the device.
(Inherited from Device.)
Public methodTryOpen(SerialStream)
Public methodTryOpen(OpenConfiguration, DeviceStream) (Inherited from Device.)
Public methodTryOpen(OpenConfiguration, SerialStream)
Public methodTryOpen(OpenConfiguration, DeviceStream, Exception) (Inherited from Device.)
Top
Properties

  NameDescription
Public propertyDevicePath
The operating system's name for the device. If you have multiple devices with the same Vendor ID, Product ID, Serial Number, etc., this may be useful for differentiating them.
(Inherited from Device.)
Top
See Also

Reference