Here's something that I've used:
#region GetDeviceName
public static string GetDeviceName()
{
string result = string.Empty;
RAPI rapi = new RAPI();
rapi.Connect(true);
try
{
CERegistryKey key = CERegistry.LocalMachine.OpenSubKey(@"Ident");
if (key != null)
{
object deviceNameValue = key.GetValue(@"Name");
if (deviceNameValue != null)
result = deviceNameValue.ToString();
}
}
finally
{
rapi.Disconnect();
}
return (result);
}
#endregion