GetString Method (stringData, langId, stringIndex)

LibUsbDotNet

LibUsbDotNet 2.2.8 GetString Method (stringData, langId, stringIndex)
Library ReferenceLibUsbDotNetUsbDeviceGetString(String%, Int16, Byte)
LibUsbDotNet on SourceForge
Gets a String descriptor from the device.
Declaration Syntax
C# Visual Basic Visual C++
public bool GetString(
	out string stringData,
	short langId,
	byte stringIndex
)
Public Function GetString ( _
	<OutAttribute> ByRef stringData As String, _
	langId As Short, _
	stringIndex As Byte _
) As Boolean
public:
virtual bool GetString(
	[OutAttribute] String^% stringData, 
	short langId, 
	unsigned char stringIndex
) sealed
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)