Create and using NetConstant class.