Create hardinfo.cs

get hardwareinfo with c#