AppDomain.CurrentDomain.BaseDirectory not available in 3rd party DLL

I have a third party library compiled to a Net DLL. It uses the following reference AppDomain.CurrentDomain.BaseDirectory to get the current working directory, however CurrentDomain is null when this is run from Unity.

How do I get AppDomain.CurrentDomain.BaseDirectory to work or what do I use instead to get the current directory of where the executable is running from.

This is on Windows 7 using C#

I went and changed the third party dll (I have the source) to import UnityEngine and use the unity provided basepath.