views:

51

answers:

1

I'd like to mimic a .NET class signature (and possibly some major pieces of implementation) in a C++ application. I plan on releasing said application under the Boost Software License. Specifically, I'd like to use the TimeSpan and DateTime interfaces, as well as some implementation I found using the handy dandy Reflector tool.

Would use of code obtained through Reflector this way violate the terms of the .NET Framework's license?

+2  A: 

You cannot redistibute modifications of their BCL implementation (mscorlib) for commercial purposes. It is available under the Shared Source license, which allows you to use it for academic/personal use only.

The ECMA 335 standard requires that the BCL be implemented in any CLR implementation though, so you can duplicate the class and method names, but provide your own implementation behind them. You might want to look the mcs module from the mono-project, which is a free-to-use BCL implementation (MIT license, you can use as you want it.)

Mark H
It'd necessarily be my own implementation because I'm using C++, and the source from Reflector is either C++/CLI or C#. But it'd be a port, not an original work, per se. But the Mono library's license is perfectly compatible with the BSL, so we're good there. Thanks!
Billy ONeal