Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I am developing an commercial application and found a piece of code that can help me. If I keep code as is with all License terms without modification. Can I use the code and sell my application? Am I under any breach?

What I have tried:

Incorporating code under commercial development as is with license terms
Posted
Updated 18-Oct-16 18:29pm
Comments
[no name] 18-Oct-16 19:54pm    
That depends on the license. And, we are not lawyers. You should consult a lawyer if you desire legal advice.
Dave Kreskowiak 18-Oct-16 23:09pm    
Did you think to ask the person who wrote the code?

1 solution

It depends entirely on the licence terms under which the original author distributes it.
Some licences allow you to do anything you like, some refuse use for commercial projects, some are fine but require you to "open source" your whole app if you include their code.

Start with the place you got the code from, and look for license info with the release (if it was from an article here, there is a "License" section near the bottom. For example, this tip: Using IP based Geolocation - and why it's pretty much useless.[^] has a section saying that:
Quote:
License
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
And provides a link to the licence terms.
Read the licence and it should tell you - if you do not understand, then contact the author and ask. He is the person who can give you permission regardless of the licence terms, so it makes sense. Ignoring licence terms can result in you having to pay the author for each copy you sell, and / or withdrawing your app from sale. Plus having to pay legal fees...

But we can't tell you what the code you found will permit you to do!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900