C# Class LitDev.IOWDevice

Show file Open project: litdev1/LitDev Class Usage Examples

Public Properties

Property Type Description
handle System.IntPtr
id uint
name string
pid uint
reportSize uint
sn StringBuilder
specialReportSize uint
version uint

Public Methods

Method Description
IOWDevice ( uint id ) : System
Read ( uint channel, byte buffer, bool bBlocking, uint length ) : uint
Write ( uint channel, byte buffer, uint length ) : uint

Method Details

IOWDevice() public method

public IOWDevice ( uint id ) : System
id uint
return System

Read() public method

public Read ( uint channel, byte buffer, bool bBlocking, uint length ) : uint
channel uint
buffer byte
bBlocking bool
length uint
return uint

Write() public method

public Write ( uint channel, byte buffer, uint length ) : uint
channel uint
buffer byte
length uint
return uint

Property Details

handle public property

public IntPtr,System handle
return System.IntPtr

id public property

public uint id
return uint

name public property

public string name
return string

pid public property

public uint pid
return uint

reportSize public property

public uint reportSize
return uint

sn public property

public StringBuilder sn
return StringBuilder

specialReportSize public property

public uint specialReportSize
return uint

version public property

public uint version
return uint