Parameters
- fromDateTime
- The date from which to calculate the maximum lifetime.
Return Value
Number of months representing the lifetime of the certificate.
The return value is the lower of number of months dictated by the MaximumExpirationDate and ValidityPeriodInMonths.
This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.