[DllImport("iPAQUtil.dll", SetLastError=true) ]
public static extern bool iPAQGetModelID([Out]StringBuilder lpszModelID);
None.
Do you know one? Please contribute it!
None.
Please add some!
/// <summary>
/// Gets the name of the model of the current iPAQ device, e.g. iPAQ rx3715.
/// </summary>
/// <value></value>
public static string ModelName
{
get
{
try
{
StringBuilder buffer = new StringBuilder(40);
if (iPAQGetModelID(buffer) == false)
{
Tracer.Debug("iPAQGetModelID failed");
}
else
{
return buffer.ToString();
}
}
catch (Exception ex)
{
Tracer.Debug("iPAQGetModelID: " + ex.Message);
}
return "";
}
}