C# Class PTP.PTPDevice

Exibir arquivo Open project: mweerden/CHDKPTPRemote Class Usage Examples

Public Properties

Property Type Description
ConfigurationID byte
InterfaceID int
PTPSupported bool
Reader LibUsbDotNet.UsbEndpointReader
ReaderEndpointID ReadEndpointID
Writer LibUsbDotNet.UsbEndpointWriter
WriterEndpointID WriteEndpointID

Protected Properties

Property Type Description
_Name string

Public Methods

Method Description
Close ( ) : bool
Open ( ) : bool
PTPDevice ( UsbDevice dev ) : LibUsbDotNet
ToString ( ) : string

Method Details

Close() public method

public Close ( ) : bool
return bool

Open() public method

public Open ( ) : bool
return bool

PTPDevice() public method

public PTPDevice ( UsbDevice dev ) : LibUsbDotNet
dev LibUsbDotNet.UsbDevice
return LibUsbDotNet

ToString() public method

public ToString ( ) : string
return string

Property Details

ConfigurationID public_oe property

public byte ConfigurationID
return byte

InterfaceID public_oe property

public int InterfaceID
return int

PTPSupported public_oe property

public bool PTPSupported
return bool

Reader public_oe property

public UsbEndpointReader,LibUsbDotNet Reader
return LibUsbDotNet.UsbEndpointReader

ReaderEndpointID public_oe property

public ReadEndpointID ReaderEndpointID
return ReadEndpointID

Writer public_oe property

public UsbEndpointWriter,LibUsbDotNet Writer
return LibUsbDotNet.UsbEndpointWriter

WriterEndpointID public_oe property

public WriteEndpointID WriterEndpointID
return WriteEndpointID

_Name protected_oe property

protected string _Name
return string