Lack of experience is the number one culprit which can ruin all the years of study and lay waste to your technical knowledge. As such, it should be given priority as a problem which needs solving.
This article demonstrates how to get system environment information like Operating System,.NET Version, Machine Name, Username, Domain Name, Directory Name, Command Line using wpf.