1

是否有机会使用 .NET 2.0 应用程序在 Codeplex 上查看应用程序运行?我探索了 Dotfuscator 正在使用 Web 服务 url http://so-s.info/PreEmptive.Web.Services.Messaging/MessagingServiceV2.asmx。是否可以手动跟踪应用程序运行事件?像添加 Web 服务引用和调用这样的东西:

Dotfuscator.MessageCache messages = new Dotfuscator.MessageCache();
messages.Business.CompanyId = new Guid("3E35F098-CE43-4F82-9E9D-05C8B1046A45");
messages.Application.Id = new Guid("my app guid");
messages.Application.Name = Application.ProductName;
messages.Application.Version = Application.ProductVersion;
Dotfuscator.MessagingServiceV2 s = new Dotfuscator.MessagingServiceV2();
s.Publish(messages);
4

1 回答 1

1

如果您指的是检测托管在 CodePlex 上的 .NET 2.0 应用程序,则不必手动执行此操作。您可以在 Visual Studio 2010 中使用免费版本的 Dotfuscator 来检测针对 .NET 2.0 及更高版本编译的应用程序二进制文件。

您可以继续构建 .NET 2.0 应用程序并在任何 .NET 2.0 或更高版本的解决方案中使用自定义属性库 (PreEmptive.Attributes.dll),使用 Dotfuscator GUI 定义注入点或两者的任意组合,Dotfuscator 将不更改应用程序的运行时环境。

检测引擎将对在 .NET 2.0、3.0、3.5、4.0、Compact Framework 2.0 及更高版本以及 Silverlight 2、3 和 4 下编译的程序集使用适当的注入。如果您仅使用 Dotfuscator 用户界面来定义注入点,则您不需要甚至不需要原始源代码,因为它只需要应用程序二进制文件。

添加于 2010 年 5 月 11 日:

Visual Studio 2010 中附带的 PreEmptive.Attributes.dll 版本仅针对 .NET 4 和更高版本的应用程序。为了完全支持非 .NET 4.0 应用程序,我们在http://runtimeintelligence.codeplex.com/releases/上发布了一个可供 .NET 2.0 和更高应用程序使用的库版本。该库还允许与 CodePlex 托管的开源项目源代码一起重新分发。

于 2010-05-09T20:39:18.993 回答