AWS SDK for .NET Documentation
UrlEncode Method (data, path)
Amazon ► Amazon.CloudFront_2012_03_15.Util ► AmazonCloudFrontUtil ► UrlEncode(String, Boolean)
Did this page help you? Yes No Tell us about it...
URL encodes a string. If the path property is specified, the accepted characters {/:+} are not encoded.
Declaration Syntax

C#

    public static string UrlEncode(
    	string data,
    	bool path
    )

Parameters

data (String)
  The string to encode

path (Boolean)
  Whether the string is a URL path or not

Return Value

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