Click or drag to resize

ExtensionMethodsHasValidSignature Method (LicenseKey, String, NullableInt32)

Checks that this object has a valid signature, which means that the content has not been altered after that it was generated by Serial Key Manager.

Namespace:  SKM.V3
Assembly:  SKM (in SKM.dll) Version: (
public static LicenseKey HasValidSignature(
	this LicenseKey licenseKey,
	string rsaPublicKey,
	Nullable<int> signatureExpirationInterval


Type: SKM.V3LicenseKey
Type: SystemString
The public key (RSA). It can be found here:
Type: SystemNullableInt32
If the license key was signed, this method will check so that no more than "signatureExpirationInterval" days have passed since the last activation.

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