CipherData.CipherValue Propiedad

Definición

Obtiene o establece el <CipherValue> elemento .

public:
 property cli::array <System::Byte> ^ CipherValue { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] CipherValue { get; set; }
member this.CipherValue : byte[] with get, set
Public Property CipherValue As Byte()

Valor de propiedad

Byte[]

Matriz de bytes que representa el <CipherValue> elemento .

Excepciones

La CipherValue propiedad se estableció en null.

La CipherValue propiedad se estableció más de una vez.

Ejemplos

En el ejemplo de código siguiente se muestra cómo crear una nueva instancia de la CipherData clase .

// Create a new CipherData object using a byte array to represent encrypted data.
Byte[] sampledata = new byte[8];
CipherData cd = new CipherData(sampledata);

    ' Create a new CipherData object using a byte array to represent encrypted data.
Dim sampledata(7) As Byte
    Dim cd As New CipherData(sampledata)

Comentarios

El valor es datos cifrados.

Note

El <CipherData> elemento puede tener un CipherReference elemento secundario o CipherValue , pero no ambos. Se produce una CryptographicException excepción si ambos se asignan a un CipherData objeto .

Se aplica a