Class Timestamp
معلومات
يمثل مكون Documentize.Timestamp. يُستخدم لإضافة الطابع الزمني إلى الوثيقة.
public static class Timestamp
الوراثة
الأعضاء الموروثة
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object?)
- object.Equals(object?, object?)
- object.ReferenceEquals(object?, object?)
- object.GetHashCode()
أمثلة
المثال يوضح كيفية إضافة الطابع الزمني إلى الوثيقة.
// إنشاء كائن AddTimestampOptions لتعيين التعليمات
var options = new AddTimestampOptions("path_to_your_pfx_file.pfx", "password_for_your_pfx_file", "timestamp_server_url");
// إضافة مسار الملف المدخل
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// تعيين مسار الملف الناتج
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// تنفيذ العملية
Timestamp.Process(options);
طرق
Process(AddTimestampOptions)
يبدأ معالجة Documentize.Timestamp بالمعلمات المحددة.
public static ResultContainer Process(AddTimestampOptions options)
المعلمات
options
AddTimestampOptions: كائن خيارات يحتوي على التعليمات للعملية.
يرجع
ResultContainer : كائن يحتوي على نتيجة العملية.
Namespace: Documentize
Assembly: Documentize.dll