Amazon.EC2.AmazonEC2Client.AllocateAddress C# (CSharp) Method

AllocateAddress() private method

private AllocateAddress ( ) : AllocateAddressResponse
return Amazon.EC2.Model.AllocateAddressResponse
        internal AllocateAddressResponse AllocateAddress()
        {
            return AllocateAddress(new AllocateAddressRequest());
        }
        internal AllocateAddressResponse AllocateAddress(AllocateAddressRequest request)

Same methods

AmazonEC2Client::AllocateAddress ( AllocateAddressRequest request ) : AllocateAddressResponse

Usage Example

		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			
			var client = new AmazonEC2Client (new BasicAWSCredentials (ACCESS_KEY, SECRET_KEY), Amazon.RegionEndpoint.USEast1);
			var response = client.AllocateAddress ();

			var textView = new UITextView (new RectangleF (new PointF (64.0f, 64.0f), new SizeF (96.0f, 32.0f)));

			textView.Text = response.PublicIp;

			this.View.AddSubview (textView);
		}
All Usage Examples Of Amazon.EC2.AmazonEC2Client::AllocateAddress
AmazonEC2Client