EncryptedXml.Encoding Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the encoding used for XML encryption.
public:
 property System::Text::Encoding ^ Encoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
	public System.Text.Encoding Encoding { get; set; }
	member this.Encoding : System.Text.Encoding with get, set
	Public Property Encoding As Encoding
	Property Value
An Encoding object.
Remarks
UTF-8 encoding is the default encoding for XML encryption. You can use this property to specify other types of encoding from the Encoding class, such as UTF-16 or ASCII.