Parameters
- fromDateTime
- The date from which to calculate the maximum lifetime.
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.