static void Main(string[] args) { // "Main" is from the client point of view LicenseServer server = new LicenseServer(); Signer signer = new Signer(); // Obtain a key from the server LicenseKey key = server.GetKey("nodots"); // Verify the signature of the unchanged key, this will result to true bool isValid1 = signer.VerifySignature(key, server.PublicKey); // Manipulate the license key.License.FeatureB = true; // Verify the signature of the changed key, this will result to false bool isValid2 = signer.VerifySignature(key, server.PublicKey); }