Public static string getdllpath () {return system.reflection.Assembly.GetexecutingAssembly (). Codebase;
or:
public string GetDllPath () {return System.Reflection.Assembly.GetExecutingAssembly () CodeBase;.} public static string GetDllPath () {return System.Reflection.MethodInfo.GetCurrentMethod () ReflectedType.Module.FullyQualifiedName;.}