rNetwork is a CString, this code won't work.

CString has a method called `AsLower` and `MakeLower` which can change the case.