PackageDigitalSignature.SigningTime Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the date and time that the signature was created.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public DateTime SigningTime { get; }

Property Value

Type: System.DateTime

The date and time that the signature was created.

Exception Condition
InvalidOperationException

The digital Signature has been deleted.

The TimeFormat property specifies the format of the date. The format of the SigningTime string is based on the PackageDigitalSignatureManager.TimeFormat property in effect when the signature was created.

SigningTime is based on the system time of the computer where the signing took place.

SigningTime is not a "secure TimeStamp" and is not from trusted Time Stamp Authority. A secure TimeStamp must be obtained and applied through a trusted Time Stamp Authority.

.NET Framework
Available since 3.0
Return to top
Show: