Do you want == here?

.Equals is case insensitive.  Further, .c_str() is causing a temporary to be constructed - I don't think it will be needed with ==