Redigera

Dela via


EncryptedXml.Encoding Property

Definition

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.

Applies to