The default behavior of the ServiceAgent is to provide the DefaultCredentialsDefaultCredentials of the current user when the Web service requires authentication and is configured to use Windows auth methods. Setting this property to a non-nullNothingnullptra null reference (Nothing in Visual Basic) value before any Web service calls are made will prevent the default credentials from being used.