[]
Converts a pointer to a null-terminating string up to maxLength characters to a .Net string.
public static string PtrToStringUni(IntPtr pointer, int maxLength)
Type | Name | Description |
---|---|---|
IntPtr | pointer | The pointer to an Unicode null string. |
int | maxLength | Maximum length of the string. |
Type | Description |
---|---|
string | The converted string. |