AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Sends a request to the AWS Storage Gateway server running at the specified address, and returns the activation key for that server.

Namespace: Amazon.StorageGateway.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public String GetActivationKey(
         String gatewayAddress,
         Int32 maxRetries,
         Int32 maxBackoff
)

Parameters

gatewayAddress
Type: System.String

The DNS name or IP address of a running AWS Storage Gateway

maxRetries
Type: System.Int32

The maximum number of retries to attempt on failure

maxBackoff
Type: System.Int32

The maximum backoff time, in milliseconds, for retry attempts. Backoff times between retries rise exponentially until they hit this ceiling.

Return Value
Type: System.String
The activation key required for some API calls to AWS Storage Gateway.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5