Revert "Add environment checking method to c# api client (lib)"

This reverts commit 10120d3b9fcbaa0b45ae897a2dc847d72b3a5766.