Click or drag to resize

LicenseKeyDaysLeft Method (Boolean)

Returns the number of days left for a given license (time left). This method is particularly useful when KeyInfo is not updated regularly, because TimeLeft will not be affected (stay constant). If your implementation checks the license with the server periodically, this method should be used instead of TimeLeft.

Namespace:  SKM.V3
Assembly:  SKM (in SKM.dll) Version: 4.0.2.6 (4.0.2.6)
Syntax
public int DaysLeft(
	bool zeroIfExpired = false
)

Parameters

zeroIfExpired (Optional)
Type: SystemBoolean
If true, when a license has expired, zero will be returned.

Return Value

Type: Int32
See Also