• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DocumentIdentifier

A pair of 16-byte identifiers that uniquely identify a PDF document (spec §7.5.5, /ID entry). The first identifier is created when the file is first written; the second is updated when the file is modified.

Inheritance
object
DocumentIdentifier
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf
Assembly: DRIT.Pdf.dll
Syntax
public sealed class DocumentIdentifier

Constructors

DocumentIdentifier(byte[], byte[])

Initializes a document identifier with the given permanent and changing IDs.

Declaration
public DocumentIdentifier(byte[] permanentId, byte[] changingId)
Parameters
Type Name Description
byte[] permanentId
byte[] changingId

Properties

ChangingId

The changing identifier (second element, updated on each save).

Declaration
public byte[] ChangingId { get; set; }
Property Value
Type Description
byte[]

PermanentId

The permanent identifier (first element of the /ID array).

Declaration
public byte[] PermanentId { get; }
Property Value
Type Description
byte[]

Methods

ToString()

Returns a hex string representation of the permanent ID.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX