GetString Method (stringData, langId, stringIndex)

LibUsbDotNet

LibUsbDotNet 2.2.8 GetString Method (stringData, langId, stringIndex)
Library ReferenceLibUsbDotNetIUsbInterfaceGetString(String%, Int16, Byte)
LibUsbDotNet on SourceForge
Gets a string descriptor from the device.
Declaration Syntax
C# Visual Basic Visual C++
bool GetString(
	out string stringData,
	short langId,
	byte stringIndex
)
Function GetString ( _
	<OutAttribute> ByRef stringData As String, _
	langId As Short, _
	stringIndex As Byte _
) As Boolean
bool GetString(
	[OutAttribute] String^% stringData, 
	short langId, 
	unsigned char stringIndex
)
Parameters
stringData (String%)
Buffer to store the returned string in upon success.
langId (Int16)
The language ID to retrieve the string in. (0x409 for english).
stringIndex (Byte)
The string index to retrieve.
Return Value
True on success.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)