/// <inheritdoc/> public void SwitchCredentials(ICredentials creds) { if (creds == null) { throw new ArgumentNullException("creds"); } _credsProvider.SetCredentials(creds); }