まず、弁護士に相談してください。私は1人ではないので、私が言ったことを一粒の塩で受け止めてください。また、これらは私が最もよく知っている法律であるため、このアドバイスは米国/西ヨーロッパ中心になります。
そうは言っても……
技術的には、自分がしたことをすることさえ許可されていません。.NET Frameworkは、オペレーティングシステムの補足としてライセンスされています。EULA for .NET 2.0を読むと、次の内容が含まれます。
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のライセンスは、.NETFrameworkに付属の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
これらは彼らの最初の2つのポイントです-どちらもあなたがやろうとしているように聞こえます。再配布は、用語の後半に含まれています。詳細については、OSのライセンスをお読みください。