Amazon.DNXCore.IntegrationTests.S3.WebProxyTest.CreateClientUsingProxyHostandPort C# (CSharp) Méthode

CreateClientUsingProxyHostandPort() public méthode

public CreateClientUsingProxyHostandPort ( ) : void
Résultat void
        public void CreateClientUsingProxyHostandPort()
        {
            client = new AmazonS3Client(new AmazonS3Config
            {
                ProxyHost = "127.0.0.1",
                ProxyPort = 8888,
                ProxyCredentials = new NetworkCredential("1", "1"),
                RegionEndpoint = RegionEndpoint.USEast1
            });
            ListBuckets();
        }