Changeset 4495 for trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/DeploymentService/UpdateServiceClientFactory.cs
- Timestamp:
- 09/26/10 01:56:37 (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/DeploymentService/UpdateServiceClientFactory.cs
r4493 r4495 26 26 namespace HeuristicLab.PluginInfrastructure.Advanced.DeploymentService { 27 27 /// <summary> 28 /// Factory class to generate d update client instances for the deployment service.28 /// Factory class to generate update service client instances for the deployment service. 29 29 /// </summary> 30 public static class Update ClientFactory {30 public static class UpdateServiceClientFactory { 31 31 private static byte[] serverCrtData; 32 32 … … 34 34 /// static constructor loads the embedded service certificate 35 35 /// </summary> 36 static Update ClientFactory() {36 static UpdateServiceClientFactory() { 37 37 var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.services.heuristiclab.com.cer"); 38 38 serverCrtData = new byte[stream.Length]; … … 41 41 42 42 /// <summary> 43 /// Factory method to create new update clients for the deployment service.43 /// Factory method to create new update service clients for the deployment service. 44 44 /// Sets the connection string and user credentials from values provided in settings. 45 45 /// HeuristicLab.PluginInfrastructure.Properties.Settings.Default.UpdateLocationUserName … … 48 48 /// 49 49 /// </summary> 50 /// <returns>A new instance of an update client</returns>51 public static Update Client CreateClient() {52 var client = new Update Client();50 /// <returns>A new instance of an update service client</returns> 51 public static UpdateServiceClient CreateClient() { 52 var client = new UpdateServiceClient(); 53 53 client.ClientCredentials.UserName.UserName = HeuristicLab.PluginInfrastructure.Properties.Settings.Default.UpdateLocationUserName; 54 54 client.ClientCredentials.UserName.Password = HeuristicLab.PluginInfrastructure.Properties.Settings.Default.UpdateLocationPassword;
Note: See TracChangeset
for help on using the changeset viewer.