AWS SDK for .NET Documentation
GetCannedSignedURL Method (protocol, distributionDomain, privateKey, s3ObjectKey, keyPairId, dateLessThan)
AmazonAmazon.CloudFrontAmazonCloudFrontUrlSignerGetCannedSignedURL(AmazonCloudFrontUrlSigner..::..Protocol, String, StreamReader, String, String, DateTime) Did this page help you?   Yes   No    Tell us about it...
Returns a signed URL that grants universal access to private content until a given date.
Declaration Syntax
C#
public static string GetCannedSignedURL(
	AmazonCloudFrontUrlSigner..::..Protocol protocol,
	string distributionDomain,
	StreamReader privateKey,
	string s3ObjectKey,
	string keyPairId,
	DateTime dateLessThan
)
Parameters
protocol (AmazonCloudFrontUrlSigner..::..Protocol)
The protocol of the URL
distributionDomain (String)
The domain name of the distribution
privateKey (StreamReader)
The 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
Return Value
The signed URL.

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