AWS SDK for .NET Documentation
GetActivationKey Method (gatewayAddress, activationRegion)
AmazonAmazon.StorageGateway.UtilAmazonStorageGatewayUtilGetActivationKey(String, RegionEndpoint) Did this page help you?   Yes   No    Tell us about it...
Sends a request to the AWS Storage Gateway server running at the specified address, and returns the activation key for that server. The default max retry count and max exponential backoff time will be used.
Declaration Syntax
C#
public static string GetActivationKey(
	string gatewayAddress,
	RegionEndpoint activationRegion
)
Parameters
gatewayAddress (String)
The DNS name or IP address of a running AWS Storage Gateway
activationRegion (RegionEndpoint)
The region in which the gateway will be activated.
Return Value
The activation key required for some API calls to AWS Storage Gateway.
Remarks
Maximum default retry count is 5 attempts, with exponential backoff up to a max of 30 seconds.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)