Amazon.CloudFront.AmazonCloudFrontUrlSigner.GetCannedSignedURL C# (CSharp) Метод

GetCannedSignedURL() публичный статический Метод

Returns a signed URL that grants universal access to private content until a given date.
public static GetCannedSignedURL ( string url, TextReader privateKey, string keyPairId, System.DateTime expiresOn ) : string
url string The full url (protocol + domain + resource path) to the resource, or the name of the stream for rtmp
privateKey TextReader The private key file. RSA private key (.pem) are supported.
keyPairId string The key pair id corresponding to the private key file given.
expiresOn System.DateTime The expiration date of the signed URL
Результат string
        public static string GetCannedSignedURL(string url, 
                                                TextReader privateKey,
                                                string keyPairId,
                                                DateTime expiresOn)
        {
            string signedUrlCanned = SignUrlCanned(url, keyPairId, privateKey, expiresOn);
            return signedUrlCanned;
        }

Same methods

AmazonCloudFrontUrlSigner::GetCannedSignedURL ( Protocol protocol, string distributionDomain, FileSystemInfo privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn ) : string
AmazonCloudFrontUrlSigner::GetCannedSignedURL ( Protocol protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn ) : string