/// <summary> /// Create a client for the GrandCloud CS service with the specified configuration /// </summary> /// <param name="accessKey">The Access Key associated with the account</param> /// <param name="secretAccessKey">The Secret Access Key associated with the account</param> /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc /// </param> /// <returns>An GrandCloud CS client</returns> /// <remarks> /// </remarks> public static GrandCloudCS CreateGrandCloudCSClient( string accessKey, string secretAccessKey, GrandCloudCSConfig config ) { return new GrandCloudCSClient(accessKey, secretAccessKey, config); }
/// <summary> /// Create a client for the GrandCloud CS Service with the credentials defined in the App.config. /// /// Example App.config with credentials set. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSAccessKey" value="********************"/> /// <add key="AWSSecretKey" value="****************************************"/> /// </appSettings> /// </configuration> /// </code> /// </summary> /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param> /// <returns>An GrandCloud CS client</returns> public static GrandCloudCS CreateGrandCloudCSClient(GrandCloudCSConfig config) { return new GrandCloudCSClient(config); }