CodeChecksumPragma.ChecksumData Property


Gets or sets the value of the data for the checksum calculation.

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

Property Value


A byte array that contains the data for the checksum calculation.


The following code example shows the setting of the ChecksumData property. This code example is part of a larger example provided for the CodeChecksumPragma class

pragma1.ChecksumData = new byte[] { 0xAA, 0xAA };
pragma1.ChecksumData = New Byte() {&HAA, &HAA}


The ChecksumData property contains data from the target file specified by the FileName property.

Applies to