C# Class PTP.PTPDevice

Show file 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 property

public byte ConfigurationID
return byte

InterfaceID public property

public int InterfaceID
return int

PTPSupported public property

public bool PTPSupported
return bool

Reader public property

public UsbEndpointReader,LibUsbDotNet Reader
return LibUsbDotNet.UsbEndpointReader

ReaderEndpointID public property

public ReadEndpointID ReaderEndpointID
return ReadEndpointID

Writer public property

public UsbEndpointWriter,LibUsbDotNet Writer
return LibUsbDotNet.UsbEndpointWriter

WriterEndpointID public property

public WriteEndpointID WriterEndpointID
return WriteEndpointID

_Name protected property

protected string _Name
return string