public LocatorHub() {
this.Url = global::DataHubServicesAddin.Properties.Settings.Default.DataHubServicesAddin_LocatorHub_LocatorHub;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}