How to indicate in a source code file what license it has?

Posted by Johann Gerell on Stack Overflow See other posts from Stack Overflow or by Johann Gerell
Published on 2010-04-16T07:58:23Z Indexed on 2010/04/16 8:03 UTC
Read the original article Hit count: 137

Let's say I want make some of my sources publicly available via my blog or other web location.

How do I properly indicate what Open Source license I've applied to the sources? For instance, with the MIT License or The Code Project Open License, should I put something at he top of the source files or should I have something on the web page, or both?

© Stack Overflow or respective owner

Related posts about licensing

Related posts about distribution