I have a class library that calls **dll\_A**. 

**dll\_A** has dependencies on WPF.

How to I wrap or isolate my class library so that the code calling my library does *not* need to have a dependency on WPF?

(My class library obviously has to depend on WPF, but the only output is `Byte[]`).

In other words, I want my library to act as an entirely different process, as a sort of 'buffer', and the calling code does not care about *how* it works, only that it outputs `Byte[]`.