Simplely get the location of the DLL

xiaoxiao2021-03-05  21

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;.}

转载请注明原文地址:https://www.9cbs.com/read-38972.html

New Post(0)