Create a client for the Amazon CloudFront Service with the credentials defined in the App.config. Example App.config with credentials set.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

Namespace: Amazon
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static AmazonCloudFront CreateAmazonCloudFrontClient()
Public Shared Function CreateAmazonCloudFrontClient As AmazonCloudFront
public:
static AmazonCloudFront^ CreateAmazonCloudFrontClient()

Return Value

An Amazon CloudFront client

Remarks

See Also