Checkout the original project https://github.com/Eun/MoveToDesktop.
This is just for a dll that can be used to inject the IVirtualDesktop's move to desktop function into another window. It is being used to move windows to other virtual desktops in this project https://github.com/jpginc/windows10DesktopManager