首先,请咨询律师-我不是律师,所以请对我所说的话持保留态度。此外,此建议将以美国/西欧为中心,因为这些是我最了解的法律。
话虽如此....
从技术上讲,你甚至不能做你做过的事情。.NET Framework 被许可作为操作系统的补充。如果您阅读 .NET 2.0 的 EULA,它包括:
Microsoft Corporation (or based on where you live, one of its affiliates) licenses this supplement to you. If you are licensed to use Microsoft Windows operating system software (the “software”), you may use this supplement. You may not use it if you do not have a license for the software. You may use a copy of this supplement with each validly licensed copy of the software.
Windows Vista/XP 的许可证根据 .NET Framework 附带的 EULA 确定您的合法权利。
这会阻止您执行此操作。尤其是:
从 Windows Vista 许可协议:
You may not
· work around any technical limitations in the software
· reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation
这是他们的前两点——这两点听起来你都在尝试。重新分配包含在条款的后面。有关完整的详细信息,请阅读您的操作系统的许可证。