Click or drag to resize

ExtensionMethods Class

Some extension methods that allow you to use SKGL Extension as a Fluent API.
Inheritance Hierarchy
SystemObject
  SKGLExtensionMethods

Namespace:  SKGL
Assembly:  SKM (in SKM.dll) Version: 4.0.2.6 (4.0.2.6)
Syntax
public static class ExtensionMethods

The ExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberHasFeature
Checks so that a certain Feature is enabled (i.e. it's set to TRUE).
Public methodStatic memberHasNotExpired
Checks that they key has not expired (i.e. the expire date has not been reached).
Public methodStatic memberHasNotFeature
Checks so that a certain Feature is disabled (i.e. it's set to FALSE).
Public methodStatic memberHasValidSignature(KeyInformation, String)
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.
Public methodStatic memberHasValidSignature(KeyInformation, 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.
Public methodStatic memberIsOnRightMachine(KeyInformation)
Checks so that the machine code corresponds to the machine code of this computer. The default hash function is SHA1.
Public methodStatic memberIsOnRightMachine(KeyInformation, FuncString, String)
Checks so that the machine code corresponds to the machine code of this computer.
Public methodStatic memberIsValid(KeyInformation)
Checks that the Key Information object is valid (in the correct format). You can always add constraints such as @HasNotExpired(KeyInformation, Boolean).
Public methodStatic memberIsValid(KeyInformation, String)
Checks that the Key Information object is valid (in the correct format). You can always add constraints such as @HasNotExpired(KeyInformation, Boolean).
Public methodStatic memberLoadFromFile(KeyInformation, String)
Load a saved object from file (using @SaveToFile(KeyInformation, String)).
Public methodStatic memberLoadFromFile(KeyInformation, String, Boolean, Boolean)
Load a saved object from file (using @SaveToFile(KeyInformation, String)).
Public methodStatic memberSaveToFile(KeyInformation, String)
Save the current object into a file. It can be read using @LoadFromFile(KeyInformation, String).
Public methodStatic memberSaveToFile(KeyInformation, String, Boolean)
Save the current object into a file. It can be read using @LoadFromFile(KeyInformation, String).
Top
See Also