C/C++
int hwid_len;
IEngine_GetHardwareId(NULL,&hwid_len);
char hwId[hwid_len + 1] = {0};
IEngine_GetHardwareId(hwId,&hwid_len);
printf("HWID: %s\n", hwId);
C#
Output.WriteLine("HWID: {0}", Encoding.UTF8.GetString(IEngine.GetHwid()));
Java:
System.out.println("HWID: " + new String(AnsiIso.getHardwareId()));