Click or drag to resize

ExtensionMethodsIsValid Method (LicenseKey)

Checks that the Key Information object is valid (in the correct format). You can always add constraints such as @HasNotExpired(LicenseKey, Boolean).

Namespace:  SKM.V3
Assembly:  SKM (in SKM.dll) Version: (
public static bool IsValid(
	this LicenseKey licenseKey


Type: SKM.V3LicenseKey

Return Value

Type: Boolean
Returns true if the object is valid and false 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