I included these libraries or namespaces in my C# application and published the solution as freeware. I used Visual C# Express 2008.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Media;
using System.Management;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Drawing.Text;
Is it okay to give the application as freeware or am I violating any license here???
I don’t think you are violating anything since the .NET Framework is free. I would recommend citing Microsoft in your terms and conditions file, however. Also, I don’t think you need to package those namespaces since they are already in the framework and since anyone using your .NET program must have .NET installed on their computer.
If you are just using the namespaces in your program, you don’t have to worry about a violation. They are made so that programmers can take advantage of pre-defined libraries instead of inventing the wheel over and over.