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: (
public int DaysLeft(
	bool zeroIfExpired = false


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

Return Value

Type: Int32
See Also