I have a WPF client that talks to a WCF using Windows Authentication.
When people are on the domain, it can pass credentials fine but not when they are using the client over the internet
ClientBase.Credentials = OnNetwork ? CredentialCache.DefaultCredentials : new NetworkCredential(tbxUsername.Text, pbxPassword.SecurePassword);
What is the proper way to do this?