I have a project i've been working on that requires me to retrieve the CPU ID of the computer to create a software licence and check it against the current licens registered.
So, said and done i made 2 programs to make this happen. Then i need to implement this solution into my CLR project.
I notice that i can't add System.Management reference in an SQL Project.
So therefor i can't access the said controls to retrieve the CPU ID as i did in my other .NET programs.
Please ive been searching for a solution for this for a week now and any hints would really help. Ive seen people including the System.Management.dll at creation of the SQL Assembly but i really cant grasp how its done.