public String GetCustomPropertyString(String name) { Byte[] buffer = GetCustomProperty(name); if (buffer == null) { return(null); } return(SetupApi.GetAsString(buffer, buffer.Length)); }
public String GetDevicePropertyString(Guid fmtid, UInt32 pid) { Byte[] buffer = GetDeviceProperty(fmtid, pid); if (buffer == null) { return(null); } return(SetupApi.GetAsString(buffer, buffer.Length)); }
public String GetPropertyString(CMRDP property) { Byte[] buffer = GetProperty(property); if (buffer == null) { return(null); } return(SetupApi.GetAsString(buffer, buffer.Length)); }