Click or drag to resize

ExtensionMethodsHasNotExpired Method

Checks that they key has not expired (i.e. the expire date has not been reached).

Namespace:  SKM.V3
Assembly:  SKM (in SKM.dll) Version: (
public static LicenseKey HasNotExpired(
	this LicenseKey licenseKey,
	bool checkWithInternetTime = false


Type: SKM.V3LicenseKey
checkWithInternetTime (Optional)
Type: SystemBoolean
If set to true, we will also check that the local time (on the client computer) has not been changed (using SKM.TimeCheck).

Return Value

Type: LicenseKey
A key information object if the condition is satisfied. Null otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type LicenseKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also