public AgentServiceService() {
this.Url = global::AgentWebServiceSample.Properties.Settings.Default.AgentWebServiceSample_PcoAgentWS_AgentServiceService;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}