你试过检查Assembly.GlobalAssemblyCache房产吗?
bool loadedFromGac = this.GetType().Assembly.GlobalAssemblyCache;
Run Code Online (Sandbox Code Playgroud)
...要么:
bool loadedFromGac = Assembly.GetExecutingAssembly().GlobalAssemblyCache;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
267 次 |
| 最近记录: |