CipherData.CipherValue Özellik

Tanım

öğesini alır veya ayarlar <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()

Özellik Değeri

Byte[]

öğesini temsil <CipherValue> eden bir bayt dizisi.

Özel durumlar

CipherValue özelliği olarak nullayarlanmıştır.

Özelliği CipherValue birden çok kez ayarlandı.

Örnekler

Aşağıdaki kod örneği, sınıfının yeni bir örneğinin CipherData nasıl oluşturulacağını gösterir.

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

Açıklamalar

Değer şifrelenmiş verilerdir.

Note

öğesi <CipherData> bir CipherReference veya CipherValue alt öğeye sahip olabilir, ancak ikisini birden içermez. Her CryptographicException ikisi de bir CipherData nesneye atanmışsa A oluşturulur.

Şunlara uygulanır