AWS SDK for .NET Documentation
GetCustomSignedURL Method (protocol, distributionDomain, privateKey, s3ObjectKey, keyPairId, dateLessThan, dateGreaterThan, ipRange)
Amazon ► Amazon.CloudFront ► AmazonCloudFrontUrlSigner ► GetCustomSignedURL(AmazonCloudFrontUrlSigner..::..Protocol, String, StreamReader, String, String, DateTime, Nullable<(Of <<'(DateTime>)>>), String)
Did this page help you? Yes No Tell us about it...
Returns a signed URL that provides tailored access to private content based on an access time window and an ip range.
Declaration Syntax

C#

    public static string GetCustomSignedURL(
    	AmazonCloudFrontUrlSigner..::..Protocol protocol,
    	string distributionDomain,
    	StreamReader privateKey,
    	string s3ObjectKey,
    	string keyPairId,
    	DateTime dateLessThan,
    	Nullable<DateTime> dateGreaterThan,
    	string ipRange
    )

Parameters

protocol (AmazonCloudFrontUrlSigner..::..Protocol)
  The protocol of the URL

distributionDomain (String)
  The domain name of the distribution

privateKey (StreamReader)
  Your private key file. RSA private key (.pem) are supported.

s3ObjectKey (String)
  The s3 key of the object, or the name of the stream for rtmp

keyPairId (String)
  The key pair id corresponding to the private key file given

dateLessThan (DateTime)
  The expiration date of the signed URL

dateGreaterThan (Nullable<(Of <(<'DateTime>)>)>)
  The beginning valid date of the signed URL

ipRange (String)
  The allowed IP address range of the client making the GET request, in CIDR form (e.g. 192.168.0.1/24).

Return Value
The signed URL.

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