One could use Late Binding, and work independent of the library being added as reference, but for the sake of performance, I have used Early Binding, which requires the reference library to be added.