Can I connect two different 1-Wire Devices to the same data pin on an Arduino?

I have used DS18B20 temperature sensors many times and understand that they can be daisy chained on the same data pin. Could two different sensors be connected in the same manner?

For instance, could I use the same data pin to read data from both a DS18B20 and a DS2417? Would there be any limitations concerning either the hardware or the code aspect?

Taking a look at the example code on arduino.cc:

if ( addr[0] == 0x10) {
Serial.print("Device is a DS18S20 family device.\n");
}
else if ( addr[0] == 0x28) {
Serial.print("Device is a DS18B20 family device.\n");
}
else {
Serial.print("Device family is not recognized: 0x");
return;
}


It is clear that there is at least some tolerance for different devices, however the DS18B20 and DS18S20 are both temperature sensors and aren't all that different