CipherData.CipherValue Proprietà

Definizione

Ottiene o imposta l'elemento <CipherValue> .

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()

Valore della proprietà

Byte[]

Matrice di byte che rappresenta l'elemento <CipherValue> .

Eccezioni

La CipherValue proprietà è stata impostata su null.

La CipherValue proprietà è stata impostata più volte.

Esempio

Nell'esempio di codice seguente viene illustrato come creare una nuova istanza della CipherData classe .

// 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)

Commenti

Il valore è crittografato.

Note

L'elemento <CipherData> può avere un elemento o un CipherReferenceCipherValue elemento figlio, ma non entrambi. Viene CryptographicException generata un'eccezione se entrambi vengono assegnati a un CipherData oggetto .

Si applica a