PdfDocumentIdentifier Class
Represents an identifier of a PdfDocument.
public sealed class PdfDocumentIdentifier : PdfObject
Public NotInheritable Class PdfDocumentIdentifier
Inherits PdfObject
- Inheritance:
- System.ObjectPdfDocumentIdentifier
Properties
Creation
Gets the permanent identifier based on the contents of the file at the time it was originally created as a System.Guid value or System.Guid.Empty if CreationBytes cannot be converted to System.Guid.
Property Value
- System.Guid
The permanent identifier based on the contents of the file at the time it was originally created as a System.Guid value or System.Guid.Empty if CreationBytes cannot be converted to System.Guid.
See Also
CreationBytes
Gets the permanent identifier based on the contents of the file at the time it was originally created as a System.Byte array.
Property Value
- System.Byte[]
The permanent identifier based on the contents of the file at the time it was originally created as a System.Byte array.
See Also
Modification
Gets or sets the changing identifier based on the file’s contents at the time it was last updated as a System.Guid value or System.Guid.Empty if ModificationBytes cannot be converted to System.Guid.
Property Value
- System.Guid
The changing identifier based on the file’s contents at the time it was last updated as a System.Guid value or System.Guid.Empty if ModificationBytes cannot be converted to System.Guid.
Exceptions
- System.ArgumentException
Value is System.Guid.Empty or equal to Creation.
See Also
ModificationBytes
Gets the changing identifier based on the file’s contents at the time it was last updated as a System.Byte array.
public byte[] ModificationBytes { get; }
Public ReadOnly Property ModificationBytes As Byte()
Property Value
- System.Byte[]
The changing identifier based on the file’s contents at the time it was last updated as a System.Byte array.
See Also
Methods
ToString()
Returns a System.String that represents this PdfDocumentIdentifier instance.
Returns
- System.String
A System.String that represents this PdfDocumentIdentifier instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Inherited Properties
Metadata | (Optional; PDF 1.4) A metadata stream containing metadata for the component. (Inherited from PdfObject) |