I am developing a C# application that connects to a proprietary system. The proprietary system's API includes a call to connect to its servers that requires a username and password.
public bool ConnectToServer(string UserName, string Password)
{
// ...
}
My concern is that hackers may obtain the application’s binaries, open up the code and steal the username and password.
How do I protect myself from such an attempt?