a hardware interface reference class defining an interface reference object corresponding to a device connected locally to the computer system; a network interface reference class defining an interface reference object corresponding to a device connected remotely to the computer system; and means for dynamically selecting, according to whether the device is locally or remotely connected, from the