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.
Namespace: Amazon.CloudFront
Assembly: AWSSDK.dll
Version: (assembly version)
public String GetCustomSignedURL(
String resourceUrlOrPath,
TextReader privateKey,
String keyPairId,
DateTime expiresOn,
DateTime activeFrom,
String ipRange
)
The URL or path that uniquely identifies a resource within a distribution. For standard distributions the resource URL will be "http://" + distributionName + "/" + path (may also include URL parameters. For distributions with the HTTPS required protocol, the resource URL must start with "https://". RTMP resources do not take the form of a URL, and instead the resource path is nothing but the stream's name.
Your private key file. RSA private key (.pem) are supported.
The key pair id corresponding to the private key file given
The expiration date of the signed URL
The beginning valid date of the signed URL
The allowed IP address range of the client making the GET request, in CIDR form (e.g. 192.168.0.1/24).
.NET Framework:
Supported in: 4.5, 4.0, 3.5