'Declaration
Public Function GetLifetimeInMonthsFrom( _ ByVal fromDateTime As Date _ ) As Integer
'Usage
Dim instance As CertificateGenerationParameters Dim fromDateTime As Date Dim value As Integer value = instance.GetLifetimeInMonthsFrom(fromDateTime)
public int GetLifetimeInMonthsFrom( DateTime fromDateTime )
public: int GetLifetimeInMonthsFrom( DateTime fromDateTime )
Parameters
- fromDateTime
- The date from which to calculate the maximum lifetime.
Return Value
Number of months representing the lifetime of the certificate.