I am trying to connect to a website through a proxy with Selenium in C#. The following code successfully loads the proxy:
var options = new ChromeOptions();
string proxyHost = "proxy";
int proxyPort = proxy;
string proxyUser = "proxy";
string proxyPassword = "proxy[enter image description here][1]";
options.AddArgument("--proxy-server=http://" + proxyHost + ":" + proxyPort);
options.AddArgument("--proxy-auth=" + proxyUser + ":" + proxyPassword);
var driver = new ChromeDriver(options);
driver.Navigate().GoToUrl("https://whatismyipaddress.com/");
However, when prompted for the proxy username and password, I am unsure how to input them in the Selenium code. What code do I need to include in C# to input the proxy username and password?