I'm trying to reference a dll created by another program. I don't think I can distribute the dll(s) with my program, so I need to be able to find them in their native directories. I have the following function right now:

public static void Activate_Plugins(List<string> pluginlist, Settings.SettingsFile CurrentSettings)
                string path = "";

                if (System.Environment.Is64BitOperatingSystem == true) { path = CurrentSettings.BOSSPath + "\\API\\boss64.dll"; }
                else { path = CurrentSettings.BOSSPath + "\\API\\boss32.dll"; }

                if (File.Exists(path))
How do I now reference functions in the dll?