如何在 .NET 中找到接口的实现/源代码?

逆向工程 反编译 dll 。网
2021-07-10 08:30:49

所以我正在反汇编 Winnov.Amalga.Core.Session.Common.dll,并试图弄清楚 WriteScriptCommand 是如何工作的。

我是 .NET 的新手,所以请放轻松。您可以在此处自己找到 dll:Binary 文件夹下的链接

下面几乎是我找到的唯一参考。编辑:通过搜索反编译的 dll。

using System;
namespace winnov.Amalga.core
{
  public interface ISession
  {
     string Configuration { get; set; }
     SessionState { get; }
     TimeSpan Duration { get; }
     string ArchiveBasePath { get; set; }
     string ArchivePath { get; }
     void Start();
     void Stop();
     void ApplyPreset(string presetxml);
     void writeScriptCommand(string name, string value);
   }
}
1个回答

如果您查看Winnov.Amalga.Core.Client构造函数的反编译代码,您会看到它this._Session是一个 Web 服务接口,用于在构造Winnov.Amalga.Core.Client. 因此,Session.WriteScriptCommand()是一个服务器端函数,它的代码不在Winnov.Amalga.Core.Session.Common.dll.